Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: src/js/string.js

Issue 1421593009: Revert of Use in-object fields instead of private symbols for regexp slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/js/regexp.js ('k') | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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; 16 var InternalArray = utils.InternalArray;
17 var InternalPackedArray = utils.InternalPackedArray; 17 var InternalPackedArray = utils.InternalPackedArray;
18 var MakeRangeError; 18 var MakeRangeError;
19 var MakeTypeError; 19 var MakeTypeError;
20 var RegExpExec; 20 var RegExpExec;
21 var RegExpExecNoTests; 21 var RegExpExecNoTests;
22 var regExpFlagsSymbol = utils.ImportNow("regexp_flags_symbol");
22 var RegExpLastMatchInfo; 23 var RegExpLastMatchInfo;
23 24
24 utils.Import(function(from) { 25 utils.Import(function(from) {
25 ArrayIndexOf = from.ArrayIndexOf; 26 ArrayIndexOf = from.ArrayIndexOf;
26 ArrayJoin = from.ArrayJoin; 27 ArrayJoin = from.ArrayJoin;
27 MakeRangeError = from.MakeRangeError; 28 MakeRangeError = from.MakeRangeError;
28 MakeTypeError = from.MakeTypeError; 29 MakeTypeError = from.MakeTypeError;
29 RegExpExec = from.RegExpExec; 30 RegExpExec = from.RegExpExec;
30 RegExpExecNoTests = from.RegExpExecNoTests; 31 RegExpExecNoTests = from.RegExpExecNoTests;
31 RegExpLastMatchInfo = from.RegExpLastMatchInfo; 32 RegExpLastMatchInfo = from.RegExpLastMatchInfo;
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 to.StringLastIndexOf = StringLastIndexOfJS; 1171 to.StringLastIndexOf = StringLastIndexOfJS;
1171 to.StringMatch = StringMatchJS; 1172 to.StringMatch = StringMatchJS;
1172 to.StringReplace = StringReplace; 1173 to.StringReplace = StringReplace;
1173 to.StringSlice = StringSlice; 1174 to.StringSlice = StringSlice;
1174 to.StringSplit = StringSplitJS; 1175 to.StringSplit = StringSplitJS;
1175 to.StringSubstr = StringSubstr; 1176 to.StringSubstr = StringSubstr;
1176 to.StringSubstring = StringSubstring; 1177 to.StringSubstring = StringSubstring;
1177 }); 1178 });
1178 1179
1179 }) 1180 })
OLDNEW
« no previous file with comments | « src/js/regexp.js ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698