Changeset 76090 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Jan 18, 2011, 6:37:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r75443 r76090 4803 4803 ASSERT(codeBlock->codeType() == FunctionCode); 4804 4804 int argumentsRegister = codeBlock->argumentsRegister(); 4805 if (!functionCallFrame->r(argumentsRegister).jsValue()) { 4806 JSValue arguments = JSValue(new (callFrame) Arguments(functionCallFrame)); 4807 functionCallFrame->r(argumentsRegister) = arguments; 4808 functionCallFrame->r(unmodifiedArgumentsRegister(argumentsRegister)) = arguments; 4809 } 4810 return functionCallFrame->r(argumentsRegister).jsValue(); 4805 int realArgumentsRegister = unmodifiedArgumentsRegister(argumentsRegister); 4806 if (JSValue arguments = functionCallFrame->uncheckedR(argumentsRegister).jsValue()) 4807 return arguments; 4808 JSValue arguments = JSValue(new (callFrame) Arguments(functionCallFrame)); 4809 functionCallFrame->r(argumentsRegister) = arguments; 4810 functionCallFrame->r(realArgumentsRegister) = arguments; 4811 return arguments; 4811 4812 } 4812 4813
Note:
See TracChangeset
for help on using the changeset viewer.