Changeset 36427 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Sep 14, 2008, 11:26:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r36417 r36427 1101 1101 // is safe. 1102 1102 1103 RefPtr<RegisterID> protectFunc = func; 1104 1105 // Reserve space for prototype 1106 RefPtr<RegisterID> funcProto = newTemporary(); 1107 1103 1108 // Reserve space for call frame. 1104 1109 Vector<RefPtr<RegisterID>, RegisterFile::CallFrameHeaderSize> callFrame; … … 1114 1119 } 1115 1120 1121 emitGetById(funcProto.get(), func, globalExec()->propertyNames().prototype); 1122 1116 1123 emitOpcode(op_construct); 1117 1124 instructions().append(dst->index()); 1118 1125 instructions().append(func->index()); 1126 instructions().append(funcProto->index()); 1119 1127 instructions().append(argv.size() ? argv[0]->index() : m_temporaries.size()); // argv 1120 1128 instructions().append(argv.size()); // argc
Note:
See TracChangeset
for help on using the changeset viewer.