Changeset 31208 in webkit for trunk/JavaScriptCore/kjs/regexp_object.cpp
- Timestamp:
- Mar 21, 2008, 4:14:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/regexp_object.cpp
r30534 r31208 52 52 : JSObject(objectPrototype) 53 53 { 54 static const Identifier* compilePropertyName = new Identifier("compile"); 55 static const Identifier* execPropertyName = new Identifier("exec"); 56 static const Identifier* testPropertyName = new Identifier("test"); 57 58 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, *compilePropertyName, regExpProtoFuncCompile), DontEnum); 59 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, *execPropertyName, regExpProtoFuncExec), DontEnum); 60 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, *testPropertyName, regExpProtoFuncTest), DontEnum); 54 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, CommonIdentifiers::shared()->compile, regExpProtoFuncCompile), DontEnum); 55 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, CommonIdentifiers::shared()->exec, regExpProtoFuncExec), DontEnum); 56 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, CommonIdentifiers::shared()->test, regExpProtoFuncTest), DontEnum); 61 57 putDirectFunction(new PrototypeFunction(exec, functionPrototype, 0, exec->propertyNames().toString, regExpProtoFuncToString), DontEnum); 62 58 }
Note:
See TracChangeset
for help on using the changeset viewer.