Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 61b3549ddebf8d07db91bf6aafc405381e3e444b..64573df4747eb8de8472e0c1869c9a3372002d62 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) |