| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index cc3f97c43135914d40899598adcb38c1f579916c..a6d75df3339f7b34cee1566e9b987b899cf98904 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -1497,6 +1497,14 @@ RUNTIME_FUNCTION(Runtime_SetValueOf) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_JSValueValue) {
|
| + SealHandleScope shs(isolate);
|
| + DCHECK(args.length() == 1);
|
| + CONVERT_ARG_CHECKED(JSValue, obj, 0);
|
| + return JSValue::cast(obj)->value();
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_ObjectEquals) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 2);
|
|
|