Chromium Code Reviews| Index: runtime/vm/ast.h |
| diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h |
| index 0e9b68c3107aa8dd5828523affb6a34b24515aba..ba41f40810c0d4495c69afed341ce276383b375f 100644 |
| --- a/runtime/vm/ast.h |
| +++ b/runtime/vm/ast.h |
| @@ -99,7 +99,7 @@ class AstNode : public ZoneAllocated { |
| public: |
| explicit AstNode(intptr_t token_pos) |
| : token_pos_(token_pos) { |
| - ASSERT(token_pos_ >= 0); |
| + ASSERT(Scanner::ValidSourcePosition(token_pos_)); |
| } |
| virtual ~AstNode() { } |