Changeset 88873 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Jun 14, 2011, 4:39:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r88866 r88873 1552 1552 callFrame->uncheckedR(dst) = JSValue(constructArray(callFrame, args)); 1553 1553 1554 vPC += OPCODE_LENGTH(op_new_array); 1555 NEXT_INSTRUCTION(); 1556 } 1557 DEFINE_OPCODE(op_new_array_buffer) { 1558 /* new_array_buffer dst(r) index(n) argCount(n) 1559 1560 Constructs a new Array instance using the original 1561 constructor, and puts the result in register dst. 1562 The array be initialized with the values from immediateBuffer[index] 1563 */ 1564 int dst = vPC[1].u.operand; 1565 int firstArg = vPC[2].u.operand; 1566 int argCount = vPC[3].u.operand; 1567 ArgList args(codeBlock->immediateBuffer(firstArg), argCount); 1568 callFrame->uncheckedR(dst) = JSValue(constructArray(callFrame, args)); 1569 1554 1570 vPC += OPCODE_LENGTH(op_new_array); 1555 1571 NEXT_INSTRUCTION();
Note:
See TracChangeset
for help on using the changeset viewer.