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

Unified Diff: runtime/vm/scanner.h

Issue 1870343002: - Refactor Symbol allocation to expect a thread parameter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review feedback. Created 4 years, 8 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 | « runtime/vm/runtime_entry.cc ('k') | runtime/vm/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scanner.h
diff --git a/runtime/vm/scanner.h b/runtime/vm/scanner.h
index 92ebcd69a522315a042dfb14b2d18bd01dba2caf..8d5c6d55d3230b6cbbbae553345f0fb16b0002b0 100644
--- a/runtime/vm/scanner.h
+++ b/runtime/vm/scanner.h
@@ -180,6 +180,7 @@ class Scanner : ValueObject {
CharAtFunc CallCharAt() const { return char_at_func_; }
+ Thread* thread() const { return thread_; }
Zone* zone() const { return zone_; }
static void PrintTokens(const GrowableTokenStream& ts);
@@ -209,6 +210,7 @@ class Scanner : ValueObject {
const CharAtFunc char_at_func_;
+ Thread* thread_;
Zone* zone_;
static KeywordTable keywords_[Token::kNumKeywords];
« no previous file with comments | « runtime/vm/runtime_entry.cc ('k') | runtime/vm/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698