Index: src/runtime/runtime-forin.cc |
diff --git a/src/runtime/runtime-forin.cc b/src/runtime/runtime-forin.cc |
index 68c1092bd6cae138245a27ec73c8395f5b52715f..48896d49d8e3f1717b70736e60bbdc64bc48e3d1 100644 |
--- a/src/runtime/runtime-forin.cc |
+++ b/src/runtime/runtime-forin.cc |
@@ -64,7 +64,7 @@ MaybeHandle<Object> HasEnumerableProperty(Isolate* isolate, |
Handle<Object> prototype; |
ASSIGN_RETURN_ON_EXCEPTION(isolate, prototype, |
JSProxy::GetPrototype(proxy), Object); |
- if (prototype->IsNull()) break; |
+ if (prototype->IsNull(isolate)) break; |
// We already have a stack-check in JSProxy::GetPrototype. |
return HasEnumerableProperty( |
isolate, Handle<JSReceiver>::cast(prototype), key); |