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

Unified Diff: src/js/regexp.js

Issue 1413173003: Move error message makers off js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/proxy.js ('k') | src/js/runtime.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/regexp.js
diff --git a/src/js/regexp.js b/src/js/regexp.js
index 34219d9c944e0afb752663e9708589183c782649..918450183ee0801757e489fb1ac4efcee96458ac 100644
--- a/src/js/regexp.js
+++ b/src/js/regexp.js
@@ -16,6 +16,7 @@ var FLAG_harmony_tolength;
var FLAG_harmony_unicode_regexps;
var GlobalRegExp = global.RegExp;
var InternalPackedArray = utils.InternalPackedArray;
+var MakeTypeError;
utils.ImportFromExperimental(function(from) {
FLAG_harmony_regexps = from.FLAG_harmony_regexps;
@@ -23,6 +24,10 @@ utils.ImportFromExperimental(function(from) {
FLAG_harmony_unicode_regexps = from.FLAG_harmony_unicode_regexps;
});
+utils.Import(function(from) {
+ MakeTypeError = from.MakeTypeError;
+});
+
// -------------------------------------------------------------------
// Property of the builtins object for recording the result of the last
« no previous file with comments | « src/js/proxy.js ('k') | src/js/runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698