Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 8ed1e3c0738ed1d3a5f4c212def5de9deb6c24a5..c3e3d056a42fc658fda7c1f26b55f43a15c123ae 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -225,6 +225,18 @@ RUNTIME_FUNCTION(Runtime_ThrowSymbolIteratorInvalid) { |
isolate, NewTypeError(MessageTemplate::kSymbolIteratorInvalid)); |
} |
+RUNTIME_FUNCTION(Runtime_ThrowNonCallableInInstanceOfCheck) { |
+ HandleScope scope(isolate); |
+ THROW_NEW_ERROR_RETURN_FAILURE( |
+ isolate, NewTypeError(MessageTemplate::kNonCallableInInstanceOfCheck)); |
+} |
+ |
+RUNTIME_FUNCTION(Runtime_ThrowNonObjectInInstanceOfCheck) { |
+ HandleScope scope(isolate); |
+ THROW_NEW_ERROR_RETURN_FAILURE( |
+ isolate, NewTypeError(MessageTemplate::kNonObjectInInstanceOfCheck)); |
+} |
+ |
RUNTIME_FUNCTION(Runtime_ThrowNotGeneric) { |
HandleScope scope(isolate); |
DCHECK_EQ(1, args.length()); |