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

Unified Diff: src/js/templates.js

Issue 1553043002: [builtins] Migrate a bunch of Object builtins to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 12 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/prologue.js ('k') | src/js/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/templates.js
diff --git a/src/js/templates.js b/src/js/templates.js
index eee6b7d7e71fc9663c95e5337e8fac9545e56937..7236d5c130a72840188c2868b193a5276ded75a6 100644
--- a/src/js/templates.js
+++ b/src/js/templates.js
@@ -70,10 +70,10 @@ function GetTemplateCallSite(siteObj, rawStrings, hash) {
if (!IS_UNDEFINED(cached)) return cached;
- %AddNamedProperty(siteObj, "raw", %ObjectFreeze(rawStrings),
+ %AddNamedProperty(siteObj, "raw", %object_freeze(rawStrings),
READ_ONLY | DONT_ENUM | DONT_DELETE);
- return SetCachedCallSite(%ObjectFreeze(siteObj), hash);
+ return SetCachedCallSite(%object_freeze(siteObj), hash);
}
// ----------------------------------------------------------------------------
« no previous file with comments | « src/js/prologue.js ('k') | src/js/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698