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 %CheckIsBootstrapping(); | 7 %CheckIsBootstrapping(); |
8 | 8 |
9 // ------------------------------------------------------------------- | 9 // ------------------------------------------------------------------- |
10 // Imports | 10 // Imports |
11 | 11 |
12 var ArrayIndexOf; | 12 var ArrayIndexOf; |
13 var ArrayJoin; | 13 var ArrayJoin; |
14 var GlobalRegExp = global.RegExp; | 14 var GlobalRegExp = global.RegExp; |
15 var GlobalString = global.String; | 15 var GlobalString = global.String; |
16 var InternalArray = utils.InternalArray; | |
17 var InternalPackedArray = utils.InternalPackedArray; | |
18 var IsRegExp; | 16 var IsRegExp; |
19 var MakeRangeError; | 17 var MakeRangeError; |
20 var MakeTypeError; | 18 var MakeTypeError; |
21 var MaxSimple; | 19 var MaxSimple; |
22 var MinSimple; | 20 var MinSimple; |
23 var RegExpInitialize; | 21 var RegExpInitialize; |
24 var matchSymbol = utils.ImportNow("match_symbol"); | 22 var matchSymbol = utils.ImportNow("match_symbol"); |
25 var replaceSymbol = utils.ImportNow("replace_symbol"); | 23 var replaceSymbol = utils.ImportNow("replace_symbol"); |
26 var searchSymbol = utils.ImportNow("search_symbol"); | 24 var searchSymbol = utils.ImportNow("search_symbol"); |
27 var splitSymbol = utils.ImportNow("split_symbol"); | 25 var splitSymbol = utils.ImportNow("split_symbol"); |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 to.StringLastIndexOf = StringLastIndexOf; | 878 to.StringLastIndexOf = StringLastIndexOf; |
881 to.StringMatch = StringMatchJS; | 879 to.StringMatch = StringMatchJS; |
882 to.StringReplace = StringReplace; | 880 to.StringReplace = StringReplace; |
883 to.StringSlice = StringSlice; | 881 to.StringSlice = StringSlice; |
884 to.StringSplit = StringSplitJS; | 882 to.StringSplit = StringSplitJS; |
885 to.StringSubstr = StringSubstr; | 883 to.StringSubstr = StringSubstr; |
886 to.StringSubstring = StringSubstring; | 884 to.StringSubstring = StringSubstring; |
887 }); | 885 }); |
888 | 886 |
889 }) | 887 }) |
OLD | NEW |