Index: src/json-parser.h |
diff --git a/src/json-parser.h b/src/json-parser.h |
index 81c83bd1d8aad08f2d49489b79fc7111f5de4879..3ee874930411579ed88fd067237e3cd491f2ddcd 100644 |
--- a/src/json-parser.h |
+++ b/src/json-parser.h |
@@ -263,10 +263,10 @@ Handle<Object> JsonParser<seq_one_byte>::ParseJsonValue() { |
return Handle<Object>::null(); |
} |
- if (isolate_->stack_guard()->InterruptRequested()) { |
+ if (stack_check.InterruptRequested()) { |
ExecutionAccess access(isolate_); |
Michael Starzinger
2015/08/24 14:40:06
Aehm, are we sure that acquiring the lock here is
Yang
2015/08/24 14:50:43
yup that looks both somewhat wrong and also unnece
Michael Starzinger
2015/08/24 14:56:47
Acknowledged. I discussed this briefly with Hannes
|
// Avoid blocking GC in long running parser (v8:3974). |
- isolate_->stack_guard()->CheckAndHandleGCInterrupt(); |
+ isolate_->stack_guard()->HandleGCInterrupt(); |
} |
if (c0_ == '"') return ParseJsonString(); |