Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index d6be902713dc578af4e0f1e854736508db7b70b3..d14393811d7e6767e68597a7edba74c94faabfc2 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -246,8 +246,7 @@ class ParserBase : public Traits { |
INLINE(Token::Value Next()) { |
if (stack_overflow_) return Token::ILLEGAL; |
{ |
- int marker; |
- if (reinterpret_cast<uintptr_t>(&marker) < stack_limit_) { |
+ if (GetCurrentStackPosition() < stack_limit_) { |
// Any further calls to Next or peek will return the illegal token. |
// The current call must return the next token, which might already |
// have been peek'ed. |