Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: src/token.cc

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/token.h ('k') | src/type-info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/token.cc
diff --git a/src/token.cc b/src/token.cc
deleted file mode 100644
index 73e883f4bdf4783ee085dd8b34e2145df4df7d15..0000000000000000000000000000000000000000
--- a/src/token.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2006-2008 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <stdint.h>
-#include "src/token.h"
-
-namespace v8 {
-namespace internal {
-
-#define T(name, string, precedence) #name,
-const char* const Token::name_[NUM_TOKENS] = {
- TOKEN_LIST(T, T)
-};
-#undef T
-
-
-#define T(name, string, precedence) string,
-const char* const Token::string_[NUM_TOKENS] = {
- TOKEN_LIST(T, T)
-};
-#undef T
-
-
-#define T(name, string, precedence) precedence,
-const int8_t Token::precedence_[NUM_TOKENS] = {
- TOKEN_LIST(T, T)
-};
-#undef T
-
-
-#define KT(a, b, c) 'T',
-#define KK(a, b, c) 'K',
-const char Token::token_type[] = {
- TOKEN_LIST(KT, KK)
-};
-#undef KT
-#undef KK
-
-} // namespace internal
-} // namespace v8
« no previous file with comments | « src/token.h ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698