Changeset 57955 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Apr 20, 2010, 11:41:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r57192 r57955 1236 1236 1237 1237 vPC += OPCODE_LENGTH(op_new_array); 1238 NEXT_INSTRUCTION();1239 }1240 DEFINE_OPCODE(op_new_regexp) {1241 /* new_regexp dst(r) regExp(re)1242 1243 Constructs a new RegExp instance using the original1244 constructor from regexp regExp, and puts the result in1245 register dst.1246 */1247 int dst = vPC[1].u.operand;1248 int regExp = vPC[2].u.operand;1249 callFrame->r(dst) = JSValue(new (globalData) RegExpObject(callFrame->scopeChain()->globalObject->regExpStructure(), callFrame->codeBlock()->regexp(regExp)));1250 1251 vPC += OPCODE_LENGTH(op_new_regexp);1252 1238 NEXT_INSTRUCTION(); 1253 1239 }
Note:
See TracChangeset
for help on using the changeset viewer.