Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index ad7d1680ecaf54eca853bd4a183f5d259b6dddcd..9c5dd0cd73ec7be83eecb9cf5242ead0845da11b 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1931,9 +1931,8 @@ class InspectorFrontend final : public v8_inspector::V8Inspector::Channel { |
"Maximum call stack size exceeded", |
v8::NewStringType::kNormal) |
.ToLocalChecked(); |
- CHECK(exception->Get(context, key) |
- .ToLocalChecked() |
- ->StrictEquals(expected)); |
+ Local<Value> value = exception->Get(context, key).ToLocalChecked(); |
+ CHECK(value->StrictEquals(expected)); |
} |
#endif |
} |