Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index e4d7392a528b6877f7711fc8fc3dc59a84946b12..1c2818c972c7a223572616c39d7b4ab1eab70b4b 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -4711,6 +4711,11 @@ unsigned* ScriptDataImpl::Data() { |
} |
+bool ScriptDataImpl::HasError() { |
+ return has_error(); |
+} |
+ |
+ |
ScriptDataImpl* PreParse(Handle<String> source, |
unibrow::CharacterStream* stream, |
v8::Extension* extension) { |