Changeset 38575 in webkit for trunk/JavaScriptCore/runtime/RegExpObject.cpp
- Timestamp:
- Nov 18, 2008, 1:52:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExpObject.cpp
r38440 r38575 109 109 bool RegExpObject::match(ExecState* exec, const ArgList& args) 110 110 { 111 RegExpConstructor* regExp Obj= exec->lexicalGlobalObject()->regExpConstructor();111 RegExpConstructor* regExpConstructor = exec->lexicalGlobalObject()->regExpConstructor(); 112 112 113 113 UString input; … … 115 115 input = args.at(exec, 0)->toString(exec); 116 116 else { 117 input = regExp Obj->input();117 input = regExpConstructor->input(); 118 118 if (input.isNull()) { 119 119 throwError(exec, GeneralError, "No input."); … … 134 134 int foundIndex; 135 135 int foundLength; 136 regExp Obj->performMatch(d->regExp.get(), input, lastIndex, foundIndex, foundLength);136 regExpConstructor->performMatch(d->regExp.get(), input, lastIndex, foundIndex, foundLength); 137 137 138 138 if (global) {
Note:
See TracChangeset
for help on using the changeset viewer.