| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 (function(global, utils) { | 5 (function(global, utils) { |
| 6 | 6 |
| 7 'use strict'; | 7 'use strict'; |
| 8 | 8 |
| 9 %CheckIsBootstrapping(); | 9 %CheckIsBootstrapping(); |
| 10 | 10 |
| (...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1176 utils.InstallGetterSetter(GlobalRegExp, '$' + i, RegExpMakeCaptureGetter(i), | 1176 utils.InstallGetterSetter(GlobalRegExp, '$' + i, RegExpMakeCaptureGetter(i), |
| 1177 NoOpSetter, DONT_DELETE); | 1177 NoOpSetter, DONT_DELETE); |
| 1178 } | 1178 } |
| 1179 %ToFastProperties(GlobalRegExp); | 1179 %ToFastProperties(GlobalRegExp); |
| 1180 | 1180 |
| 1181 // ------------------------------------------------------------------- | 1181 // ------------------------------------------------------------------- |
| 1182 // Exports | 1182 // Exports |
| 1183 | 1183 |
| 1184 utils.Export(function(to) { | 1184 utils.Export(function(to) { |
| 1185 to.RegExpExec = DoRegExpExec; | 1185 to.RegExpExec = DoRegExpExec; |
| 1186 to.RegExpInitialize = RegExpInitialize; |
| 1186 to.RegExpLastMatchInfo = RegExpLastMatchInfo; | 1187 to.RegExpLastMatchInfo = RegExpLastMatchInfo; |
| 1187 to.RegExpSubclassExecJS = RegExpSubclassExecJS; | 1188 to.RegExpSubclassExecJS = RegExpSubclassExecJS; |
| 1188 to.RegExpSubclassMatch = RegExpSubclassMatch; | 1189 to.RegExpSubclassMatch = RegExpSubclassMatch; |
| 1189 to.RegExpSubclassReplace = RegExpSubclassReplace; | 1190 to.RegExpSubclassReplace = RegExpSubclassReplace; |
| 1190 to.RegExpSubclassSearch = RegExpSubclassSearch; | 1191 to.RegExpSubclassSearch = RegExpSubclassSearch; |
| 1191 to.RegExpSubclassSplit = RegExpSubclassSplit; | 1192 to.RegExpSubclassSplit = RegExpSubclassSplit; |
| 1192 to.RegExpSubclassTest = RegExpSubclassTest; | 1193 to.RegExpSubclassTest = RegExpSubclassTest; |
| 1193 to.RegExpTest = RegExpTest; | 1194 to.RegExpTest = RegExpTest; |
| 1194 to.IsRegExp = IsRegExp; | 1195 to.IsRegExp = IsRegExp; |
| 1195 }); | 1196 }); |
| 1196 | 1197 |
| 1197 }) | 1198 }) |
| OLD | NEW |