Changeset 155455 in webkit for trunk/Source/JavaScriptCore
- Timestamp:
- Sep 10, 2013, 10:53:40 AM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r155420 r155455 1 2013-09-10 Filip Pizlo <[email protected]> 2 3 jsc commandline's run() function should take extra arguments 4 https://bugs.webkit.org/show_bug.cgi?id=121098 5 6 Reviewed by Michael Saboff. 7 8 * jsc.cpp: 9 (functionRun): 10 1 11 2013-09-09 Michael Saboff <[email protected]> 2 12 -
trunk/Source/JavaScriptCore/jsc.cpp
r155402 r155455 390 390 GlobalObject* globalObject = GlobalObject::create(exec->vm(), GlobalObject::createStructure(exec->vm(), jsNull()), Vector<String>()); 391 391 392 JSArray* array = constructEmptyArray(globalObject->globalExec(), 0); 393 for (unsigned i = 1; i < exec->argumentCount(); ++i) 394 array->putDirectIndex(globalObject->globalExec(), i - 1, exec->argument(i)); 395 globalObject->putDirect( 396 exec->vm(), Identifier(globalObject->globalExec(), "arguments"), array); 397 392 398 JSValue exception; 393 399 StopWatch stopWatch;
Note:
See TracChangeset
for help on using the changeset viewer.