Index: src/token.h |
=================================================================== |
--- src/token.h (revision 5181) |
+++ src/token.h (working copy) |
@@ -220,10 +220,6 @@ |
} |
// Predicates |
- static bool IsKeyword(Value tok) { |
- return token_type[tok] == 'K'; |
- } |
- |
static bool IsAssignmentOp(Value tok) { |
return INIT_VAR <= tok && tok <= ASSIGN_MOD; |
} |
@@ -267,7 +263,6 @@ |
static const char* name_[NUM_TOKENS]; |
static const char* string_[NUM_TOKENS]; |
static int8_t precedence_[NUM_TOKENS]; |
- static const char token_type[NUM_TOKENS]; |
}; |
} } // namespace v8::internal |