Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 434ad8fbd583ffefc8560f4ff2f0142f9a817790..2a6f343cf121dee25058f588d8448e785bd33b59 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2692,6 +2692,14 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ThrowGeneratorStateError) { |
} |
+RUNTIME_FUNCTION(MaybeObject*, Runtime_ObjectFreeze) { |
+ NoHandleAllocation ha(isolate); |
+ ASSERT(args.length() == 1); |
+ CONVERT_ARG_CHECKED(JSObject, object, 0); |
+ return object->Freeze(isolate); |
+} |
+ |
+ |
MUST_USE_RESULT static MaybeObject* CharFromCode(Isolate* isolate, |
Object* char_code) { |
if (char_code->IsNumber()) { |
@@ -13305,6 +13313,7 @@ ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(FastSmiOrObjectElements) |
ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(FastDoubleElements) |
ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(FastHoleyElements) |
ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(DictionaryElements) |
+ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(NonStrictArgumentsElements) |
ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(ExternalPixelElements) |
ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(ExternalArrayElements) |
ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(ExternalByteElements) |