Changeset 174401 in webkit for trunk/Source/JavaScriptCore/bytecode
- Timestamp:
- Oct 7, 2014, 11:57:57 AM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore/bytecode
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/BytecodeList.json
r174226 r174401 94 94 { "name" : "op_switch_string", "length" : 4 }, 95 95 { "name" : "op_new_func", "length" : 4 }, 96 { "name" : "op_new_captured_func", "length" : 4 },97 96 { "name" : "op_new_func_exp", "length" : 3 }, 98 97 { "name" : "op_call", "length" : 9 }, -
trunk/Source/JavaScriptCore/bytecode/BytecodeUseDef.h
r174226 r174401 59 59 return; 60 60 case op_new_func: 61 case op_new_captured_func:62 61 case op_create_lexical_environment: 63 62 case op_create_arguments: … … 312 311 case op_new_regexp: 313 312 case op_new_func: 314 case op_new_captured_func:315 313 case op_new_func_exp: 316 314 case op_call_varargs: -
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r174371 r174401 1271 1271 break; 1272 1272 } 1273 case op_new_captured_func: {1274 int r0 = (++it)->u.operand;1275 int f0 = (++it)->u.operand;1276 printLocationAndOp(out, exec, location, it, "new_captured_func");1277 out.printf("%s, f%d", registerName(r0).data(), f0);1278 ++it;1279 break;1280 }1281 1273 case op_new_func_exp: { 1282 1274 int r0 = (++it)->u.operand; … … 2103 2095 2104 2096 instructions[i + 2].u.location = location; 2105 break;2106 }2107 2108 case op_new_captured_func: {2109 if (pc[3].u.index == UINT_MAX) {2110 instructions[i + 3].u.watchpointSet = 0;2111 break;2112 }2113 StringImpl* uid = identifier(pc[3].u.index).impl();2114 RELEASE_ASSERT(didCloneSymbolTable);2115 ConcurrentJITLocker locker(m_symbolTable->m_lock);2116 SymbolTable::Map::iterator iter = m_symbolTable->find(locker, uid);2117 ASSERT(iter != m_symbolTable->end(locker));2118 iter->value.prepareToWatch(symbolTable());2119 instructions[i + 3].u.watchpointSet = iter->value.watchpointSet();2120 2097 break; 2121 2098 } … … 3900 3877 case op_init_lazy_reg: 3901 3878 case op_create_arguments: 3902 case op_new_captured_func:3903 3879 return; 3904 3880 default:
Note:
See TracChangeset
for help on using the changeset viewer.