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

Unified Diff: src/parsing/parser.h

Issue 2195603002: Create a character stream and hook it up to the parse info (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 5 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 | « src/compiler-dispatcher/compiler-dispatcher-job.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index d2634904a7aa81a6332ec4d81b764bb5d3d5a7eb..7ef25540177494342b93cce1ce978a7d510de104 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -85,6 +85,11 @@ class ParseInfo {
source_stream_encoding_ = source_stream_encoding;
}
+ Utf16CharacterStream* character_stream() const { return character_stream_; }
+ void set_character_stream(Utf16CharacterStream* character_stream) {
+ character_stream_ = character_stream;
+ }
+
v8::Extension* extension() { return extension_; }
void set_extension(v8::Extension* extension) { extension_ = extension; }
@@ -175,6 +180,7 @@ class ParseInfo {
unsigned flags_;
ScriptCompiler::ExternalSourceStream* source_stream_;
ScriptCompiler::StreamedSource::Encoding source_stream_encoding_;
+ Utf16CharacterStream* character_stream_;
v8::Extension* extension_;
ScriptCompiler::CompileOptions compile_options_;
Scope* script_scope_;
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher-job.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698