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 |
11 // ------------------------------------------------------------------- | 11 // ------------------------------------------------------------------- |
12 // Imports | 12 // Imports |
13 | 13 |
14 var GlobalArray = global.Array; | 14 var GlobalArray = global.Array; |
15 var GlobalObject = global.Object; | 15 var GlobalObject = global.Object; |
16 var GlobalRegExp = global.RegExp; | 16 var GlobalRegExp = global.RegExp; |
17 var GlobalRegExpPrototype = GlobalRegExp.prototype; | 17 var GlobalRegExpPrototype = GlobalRegExp.prototype; |
18 var InternalArray = utils.InternalArray; | 18 var InternalArray = utils.InternalArray; |
19 var InternalPackedArray = utils.InternalPackedArray; | |
20 var MaxSimple; | 19 var MaxSimple; |
21 var MinSimple; | 20 var MinSimple; |
22 var RegExpExecJS = GlobalRegExp.prototype.exec; | 21 var RegExpExecJS = GlobalRegExp.prototype.exec; |
23 var matchSymbol = utils.ImportNow("match_symbol"); | 22 var matchSymbol = utils.ImportNow("match_symbol"); |
24 var replaceSymbol = utils.ImportNow("replace_symbol"); | 23 var replaceSymbol = utils.ImportNow("replace_symbol"); |
25 var searchSymbol = utils.ImportNow("search_symbol"); | 24 var searchSymbol = utils.ImportNow("search_symbol"); |
26 var speciesSymbol = utils.ImportNow("species_symbol"); | 25 var speciesSymbol = utils.ImportNow("species_symbol"); |
27 var splitSymbol = utils.ImportNow("split_symbol"); | 26 var splitSymbol = utils.ImportNow("split_symbol"); |
28 var SpeciesConstructor; | 27 var SpeciesConstructor; |
29 | 28 |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 to.GetSubstitution = GetSubstitution; | 821 to.GetSubstitution = GetSubstitution; |
823 to.InternalRegExpMatch = InternalRegExpMatch; | 822 to.InternalRegExpMatch = InternalRegExpMatch; |
824 to.InternalRegExpReplace = InternalRegExpReplace; | 823 to.InternalRegExpReplace = InternalRegExpReplace; |
825 to.IsRegExp = IsRegExp; | 824 to.IsRegExp = IsRegExp; |
826 to.RegExpExec = DoRegExpExec; | 825 to.RegExpExec = DoRegExpExec; |
827 to.RegExpInitialize = RegExpInitialize; | 826 to.RegExpInitialize = RegExpInitialize; |
828 to.RegExpLastMatchInfo = RegExpLastMatchInfo; | 827 to.RegExpLastMatchInfo = RegExpLastMatchInfo; |
829 }); | 828 }); |
830 | 829 |
831 }) | 830 }) |
OLD | NEW |