Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 3a51c0a0c15e125b0b03c913f6dc9462fd7db1c0..7348d5f007198f212bc347e0e9e28b1762580669 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -288,14 +288,6 @@ RUNTIME_FUNCTION(Runtime_ThrowNotConstructor) { |
isolate, NewTypeError(MessageTemplate::kNotConstructor, object)); |
} |
-RUNTIME_FUNCTION(Runtime_ThrowNotGeneric) { |
- HandleScope scope(isolate); |
- DCHECK_EQ(1, args.length()); |
- CONVERT_ARG_HANDLE_CHECKED(Object, arg0, 0); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewTypeError(MessageTemplate::kNotGeneric, arg0)); |
-} |
- |
RUNTIME_FUNCTION(Runtime_ThrowGeneratorRunning) { |
HandleScope scope(isolate); |
DCHECK_EQ(0, args.length()); |