Chromium Code Reviews

Unified Diff: src/js/regexp.js

Issue 1850643002: Adding %_NewObject intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/js/regexp.js
diff --git a/src/js/regexp.js b/src/js/regexp.js
index 100ee9bf893688e9f7caa96cd8eca3f4fda07da1..5b4fb56473bcdd72e8cf385c5e475f4ff2eafd84 100644
--- a/src/js/regexp.js
+++ b/src/js/regexp.js
@@ -109,7 +109,7 @@ function RegExpConstructor(pattern, flags) {
if (IS_UNDEFINED(flags)) flags = input_pattern.flags;
}
- var object = %NewObject(GlobalRegExp, newtarget);
+ var object = %_NewObject(GlobalRegExp, newtarget);
return RegExpInitialize(object, pattern, flags);
}
« src/full-codegen/full-codegen.cc ('K') | « src/js/promise.js ('k') | src/js/string.js » ('j') | no next file with comments »

Powered by Google App Engine