Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 752b220e5b56742978049a70544877622bb15266..cedb0efd00127bf54461832b2b706de4db675d0c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1099,11 +1099,11 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global, |
#ifdef DEBUG |
LookupResult lookup(isolate); |
result->LocalLookup(heap->callee_symbol(), &lookup); |
- ASSERT(lookup.IsProperty() && (lookup.type() == FIELD)); |
+ ASSERT(lookup.IsFound() && (lookup.type() == FIELD)); |
ASSERT(lookup.GetFieldIndex() == Heap::kArgumentsCalleeIndex); |
result->LocalLookup(heap->length_symbol(), &lookup); |
- ASSERT(lookup.IsProperty() && (lookup.type() == FIELD)); |
+ ASSERT(lookup.IsFound() && (lookup.type() == FIELD)); |
ASSERT(lookup.GetFieldIndex() == Heap::kArgumentsLengthIndex); |
ASSERT(result->map()->inobject_properties() > Heap::kArgumentsCalleeIndex); |
@@ -1197,7 +1197,7 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global, |
#ifdef DEBUG |
LookupResult lookup(isolate); |
result->LocalLookup(heap->length_symbol(), &lookup); |
- ASSERT(lookup.IsProperty() && (lookup.type() == FIELD)); |
+ ASSERT(lookup.IsFound() && (lookup.type() == FIELD)); |
ASSERT(lookup.GetFieldIndex() == Heap::kArgumentsLengthIndex); |
ASSERT(result->map()->inobject_properties() > Heap::kArgumentsLengthIndex); |