diff options
Diffstat (limited to 'deps/v8/src/js/templates.js')
-rw-r--r-- | deps/v8/src/js/templates.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/js/templates.js b/deps/v8/src/js/templates.js index eee6b7d7e7..7236d5c130 100644 --- a/deps/v8/src/js/templates.js +++ b/deps/v8/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); } // ---------------------------------------------------------------------------- |