| Index: src/runtime/runtime-internal.cc
|
| diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
|
| index 26882b5c83b08896152142eaabc83485c339778e..b6bc9faf36e58e28be63fe37880700c9dd6cf07f 100644
|
| --- a/src/runtime/runtime-internal.cc
|
| +++ b/src/runtime/runtime-internal.cc
|
| @@ -222,6 +222,12 @@ RUNTIME_FUNCTION(Runtime_ThrowIllegalInvocation) {
|
| isolate, NewTypeError(MessageTemplate::kIllegalInvocation));
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_ThrowIllegalOperation) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 0);
|
| + return isolate->ThrowIllegalOperation();
|
| +}
|
| +
|
| RUNTIME_FUNCTION(Runtime_ThrowIncompatibleMethodReceiver) {
|
| HandleScope scope(isolate);
|
| DCHECK_EQ(2, args.length());
|
|
|