Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index c1cb922de55bf831cad9deb8a5a83876d05b65ad..8efb0daae6a8bb52d4655a51a155e71c188e716e 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -35,7 +35,7 @@ |
#include "objects-inl.h" |
#include "objects-visiting.h" |
#include "macro-assembler.h" |
-#include "scanner.h" |
+#include "scanner-base.h" |
#include "scopeinfo.h" |
#include "string-stream.h" |
#include "utils.h" |
@@ -1208,7 +1208,8 @@ MaybeObject* JSObject::AddFastProperty(String* name, |
// Normalize the object if the name is an actual string (not the |
// hidden symbols) and is not a real identifier. |
StringInputBuffer buffer(name); |
- if (!Scanner::IsIdentifier(&buffer) && name != Heap::hidden_symbol()) { |
+ if (!ScannerConstants::IsIdentifier(&buffer) |
+ && name != Heap::hidden_symbol()) { |
Object* obj; |
{ MaybeObject* maybe_obj = |
NormalizeProperties(CLEAR_INOBJECT_PROPERTIES, 0); |
@@ -5088,7 +5089,8 @@ bool String::MarkAsUndetectable() { |
bool String::IsEqualTo(Vector<const char> str) { |
int slen = length(); |
- Access<Scanner::Utf8Decoder> decoder(Scanner::utf8_decoder()); |
+ Access<ScannerConstants::Utf8Decoder> |
+ decoder(ScannerConstants::utf8_decoder()); |
decoder->Reset(str.start(), str.length()); |
int i; |
for (i = 0; i < slen && decoder->has_more(); i++) { |