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

Unified Diff: src/parsing/scanner.h

Issue 2256183005: Reduce TokenDesc size by 20% on 64b platforms. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/scanner.h
diff --git a/src/parsing/scanner.h b/src/parsing/scanner.h
index 115c760ca45f8abb14be68bb374c6a86a53722ae..c2ea4bb2aa80a4659f4b626778b144f4bad5f183 100644
--- a/src/parsing/scanner.h
+++ b/src/parsing/scanner.h
@@ -495,11 +495,11 @@ class Scanner {
// The current and look-ahead token.
struct TokenDesc {
- Token::Value token;
Location location;
LiteralBuffer* literal_chars;
LiteralBuffer* raw_literal_chars;
int smi_value_;
+ Token::Value token;
};
static const int kCharacterLookaheadBufferSize = 1;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698