Changeset 155455 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Sep 10, 2013, 10:53:40 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.