| Index: src/runtime/runtime-internal.cc
|
| diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
|
| index 6ffb667f2df52d1324f574f138ef4a3f4eab9123..6bc27d4bf42e8f9571bcc7c534c7dffb17661bf6 100644
|
| --- a/src/runtime/runtime-internal.cc
|
| +++ b/src/runtime/runtime-internal.cc
|
| @@ -207,6 +207,11 @@ RUNTIME_FUNCTION(Runtime_NewSyntaxError) {
|
| return *isolate->factory()->NewSyntaxError(message_template, arg0);
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_ThrowCannotConvertToPrimitive) {
|
| + HandleScope scope(isolate);
|
| + THROW_NEW_ERROR_RETURN_FAILURE(
|
| + isolate, NewTypeError(MessageTemplate::kCannotConvertToPrimitive));
|
| +}
|
|
|
| RUNTIME_FUNCTION(Runtime_ThrowIllegalInvocation) {
|
| HandleScope scope(isolate);
|
|
|