Changeset 36528 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Sep 16, 2008, 8:17:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r36480 r36528 1112 1112 RegisterID* CodeGenerator::emitConstruct(RegisterID* dst, RegisterID* func, ArgumentsNode* argumentsNode) 1113 1113 { 1114 // Ordinarily, we might ref "func", to avoid allocating a new temporary in 1115 // the same register. In this case, though, we actually want the call 1116 // frame we allocate to overlap "func", if it's not otherwise referenced. 1117 // op_construct will read "func" before writing out the call frame, so this 1118 // is safe. 1119 1120 RefPtr<RegisterID> protectFunc = func; 1114 ASSERT(func->refCount()); 1121 1115 1122 1116 // Reserve space for prototype
Note:
See TracChangeset
for help on using the changeset viewer.