Index: src/parser.cc |
=================================================================== |
--- src/parser.cc (revision 15486) |
+++ src/parser.cc (working copy) |
@@ -371,6 +371,7 @@ |
return result; |
} |
+ |
Scanner::Location ScriptDataImpl::MessageLocation() { |
int beg_pos = Read(PreparseDataConstants::kMessageStartPos); |
int end_pos = Read(PreparseDataConstants::kMessageEndPos); |
@@ -3769,6 +3770,7 @@ |
return isolate()->factory()->uninitialized_value(); |
} |
+ |
// Validation per 11.1.5 Object Initialiser |
class ObjectLiteralPropertyChecker { |
public: |
@@ -4962,6 +4964,7 @@ |
return factory()->NewThrow(call_constructor, scanner().location().beg_pos); |
} |
+ |
// ---------------------------------------------------------------------------- |
// Regular expressions |
@@ -5032,6 +5035,7 @@ |
return simple_; |
} |
+ |
RegExpTree* RegExpParser::ReportError(Vector<const char> message) { |
failed_ = true; |
*error_ = isolate()->factory()->NewStringFromAscii(message, NOT_TENURED); |