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'; |
| 8 |
7 %CheckIsBootstrapping(); | 9 %CheckIsBootstrapping(); |
8 | 10 |
9 // ------------------------------------------------------------------- | 11 // ------------------------------------------------------------------- |
10 // Imports | 12 // Imports |
11 | 13 |
12 var ExpandReplacement; | 14 var ExpandReplacement; |
13 var GlobalArray = global.Array; | 15 var GlobalArray = global.Array; |
14 var GlobalObject = global.Object; | 16 var GlobalObject = global.Object; |
15 var GlobalRegExp = global.RegExp; | 17 var GlobalRegExp = global.RegExp; |
16 var GlobalRegExpPrototype; | 18 var GlobalRegExpPrototype; |
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 utils.Export(function(to) { | 1097 utils.Export(function(to) { |
1096 to.InternalRegExpMatch = InternalRegExpMatch; | 1098 to.InternalRegExpMatch = InternalRegExpMatch; |
1097 to.InternalRegExpReplace = InternalRegExpReplace; | 1099 to.InternalRegExpReplace = InternalRegExpReplace; |
1098 to.IsRegExp = IsRegExp; | 1100 to.IsRegExp = IsRegExp; |
1099 to.RegExpExec = DoRegExpExec; | 1101 to.RegExpExec = DoRegExpExec; |
1100 to.RegExpInitialize = RegExpInitialize; | 1102 to.RegExpInitialize = RegExpInitialize; |
1101 to.RegExpLastMatchInfo = RegExpLastMatchInfo; | 1103 to.RegExpLastMatchInfo = RegExpLastMatchInfo; |
1102 }); | 1104 }); |
1103 | 1105 |
1104 }) | 1106 }) |
OLD | NEW |