Index: src/runtime/runtime-classes.cc |
diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc |
index 4e9bece95b7fe4256fa5b745130ba3f8da530198..1c53f0f62619df84cbe9b109bc645c8bf4019778 100644 |
--- a/src/runtime/runtime-classes.cc |
+++ b/src/runtime/runtime-classes.cc |
@@ -20,13 +20,6 @@ namespace v8 { |
namespace internal { |
-RUNTIME_FUNCTION(Runtime_ThrowNonMethodError) { |
- HandleScope scope(isolate); |
- DCHECK_EQ(0, args.length()); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewReferenceError(MessageTemplate::kNonMethod)); |
-} |
- |
RUNTIME_FUNCTION(Runtime_ThrowUnsupportedSuperError) { |
HandleScope scope(isolate); |
DCHECK_EQ(0, args.length()); |
@@ -45,13 +38,6 @@ RUNTIME_FUNCTION(Runtime_ThrowConstructorNonCallableError) { |
} |
-RUNTIME_FUNCTION(Runtime_ThrowArrayNotSubclassableError) { |
- HandleScope scope(isolate); |
- DCHECK_EQ(0, args.length()); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewTypeError(MessageTemplate::kArrayNotSubclassable)); |
-} |
- |
RUNTIME_FUNCTION(Runtime_ThrowStaticPrototypeError) { |
HandleScope scope(isolate); |
DCHECK_EQ(0, args.length()); |