Changeset 6347 in webkit for trunk/JavaScriptCore/kjs/regexp_object.cpp
- Timestamp:
- Apr 9, 2004, 1:07:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/regexp_object.cpp
r3373 r6347 101 101 Null(); 102 102 } 103 RegExpObjectImp* regExpObj = static_cast<RegExpObjectImp*>(exec-> interpreter()->builtinRegExp().imp());103 RegExpObjectImp* regExpObj = static_cast<RegExpObjectImp*>(exec->lexicalInterpreter()->builtinRegExp().imp()); 104 104 int **ovector = regExpObj->registerRegexp( re, s.value() ); 105 105 … … 191 191 list.append(String(substring)); 192 192 } 193 Object arr = exec-> interpreter()->builtinArray().construct(exec, list);193 Object arr = exec->lexicalInterpreter()->builtinArray().construct(exec, list); 194 194 arr.put(exec, "index", Number(lastOvector[0])); 195 195 arr.put(exec, "input", String(lastString)); … … 228 228 UString flags = args[1].toString(exec); 229 229 230 RegExpPrototypeImp *proto = static_cast<RegExpPrototypeImp*>(exec-> interpreter()->builtinRegExpPrototype().imp());230 RegExpPrototypeImp *proto = static_cast<RegExpPrototypeImp*>(exec->lexicalInterpreter()->builtinRegExpPrototype().imp()); 231 231 RegExpImp *dat = new RegExpImp(proto); 232 232 Object obj(dat); // protect from GC
Note:
See TracChangeset
for help on using the changeset viewer.