Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index 9feda335a23fb77269397af86dfbcd596d62ac7a..81b71b631efe3dfddd74437585d9cbec5b022c22 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -50,8 +50,8 @@ class Execution final : public AllStatic { |
MaybeHandle<Object>* exception_out = NULL); |
// ECMA-262 9.9 |
- MUST_USE_RESULT static MaybeHandle<Object> ToObject( |
- Isolate* isolate, Handle<Object> obj); |
+ MUST_USE_RESULT static MaybeHandle<JSReceiver> ToObject(Isolate* isolate, |
+ Handle<Object> obj); |
static Handle<String> GetStackTraceLine(Handle<Object> recv, |
Handle<JSFunction> fun, |