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

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

Issue 2344773002: Reland of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.or… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Simplify test262 expectations Created 4 years, 3 months 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 | « no previous file | test/mjsunit/regexp-lastIndex.js » ('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 '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
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 })
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/regexp-lastIndex.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698