Changeset 163496 in webkit for trunk/Source/JavaScriptCore/runtime/RegExpObject.cpp
- Timestamp:
- Feb 5, 2014, 4:58:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/RegExpObject.cpp
r162740 r163496 40 40 namespace JSC { 41 41 42 static EncodedJSValue regExpObjectGlobal(ExecState*, EncodedJSValue, EncodedJSValue, PropertyName);43 static EncodedJSValue regExpObjectIgnoreCase(ExecState*, EncodedJSValue, EncodedJSValue, PropertyName);44 static EncodedJSValue regExpObjectMultiline(ExecState*, EncodedJSValue, EncodedJSValue, PropertyName);45 static EncodedJSValue regExpObjectSource(ExecState*, EncodedJSValue, EncodedJSValue, PropertyName);42 static EncodedJSValue regExpObjectGlobal(ExecState*, JSObject*, EncodedJSValue, PropertyName); 43 static EncodedJSValue regExpObjectIgnoreCase(ExecState*, JSObject*, EncodedJSValue, PropertyName); 44 static EncodedJSValue regExpObjectMultiline(ExecState*, JSObject*, EncodedJSValue, PropertyName); 45 static EncodedJSValue regExpObjectSource(ExecState*, JSObject*, EncodedJSValue, PropertyName); 46 46 47 47 } // namespace JSC … … 161 161 } 162 162 163 EncodedJSValue regExpObjectGlobal(ExecState*, EncodedJSValueslotBase, EncodedJSValue, PropertyName)163 EncodedJSValue regExpObjectGlobal(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName) 164 164 { 165 165 return JSValue::encode(jsBoolean(asRegExpObject(slotBase)->regExp()->global())); 166 166 } 167 167 168 EncodedJSValue regExpObjectIgnoreCase(ExecState*, EncodedJSValueslotBase, EncodedJSValue, PropertyName)168 EncodedJSValue regExpObjectIgnoreCase(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName) 169 169 { 170 170 return JSValue::encode(jsBoolean(asRegExpObject(slotBase)->regExp()->ignoreCase())); 171 171 } 172 172 173 EncodedJSValue regExpObjectMultiline(ExecState*, EncodedJSValueslotBase, EncodedJSValue, PropertyName)173 EncodedJSValue regExpObjectMultiline(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName) 174 174 { 175 175 return JSValue::encode(jsBoolean(asRegExpObject(slotBase)->regExp()->multiline())); … … 284 284 285 285 286 EncodedJSValue regExpObjectSource(ExecState* exec, EncodedJSValueslotBase, EncodedJSValue, PropertyName)286 EncodedJSValue regExpObjectSource(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName) 287 287 { 288 288 String pattern = asRegExpObject(slotBase)->regExp()->pattern();
Note:
See TracChangeset
for help on using the changeset viewer.