aboutsummaryrefslogtreecommitdiff
path: root/src/parsing/scanner-character-streams.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsing/scanner-character-streams.h')
-rw-r--r--src/parsing/scanner-character-streams.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/parsing/scanner-character-streams.h b/src/parsing/scanner-character-streams.h
index ac81613a..291765ce 100644
--- a/src/parsing/scanner-character-streams.h
+++ b/src/parsing/scanner-character-streams.h
@@ -6,12 +6,15 @@
#define V8_PARSING_SCANNER_CHARACTER_STREAMS_H_
#include "include/v8.h" // for v8::ScriptCompiler
-#include "src/handles.h"
namespace v8 {
namespace internal {
+template <typename T>
+class Handle;
class Utf16CharacterStream;
+class RuntimeCallStats;
+class String;
class ScannerStream {
public:
@@ -20,7 +23,8 @@ class ScannerStream {
int end_pos);
static Utf16CharacterStream* For(
ScriptCompiler::ExternalSourceStream* source_stream,
- ScriptCompiler::StreamedSource::Encoding encoding);
+ ScriptCompiler::StreamedSource::Encoding encoding,
+ RuntimeCallStats* stats);
// For testing:
static std::unique_ptr<Utf16CharacterStream> ForTesting(const char* data);