| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 33cbb8149f7dc41b8499df044126c19c939603f6..b67deae0d82758f8f6ca49b0a5769012dcffe7df 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1080,11 +1080,11 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| #ifdef DEBUG
|
| LookupResult lookup(isolate);
|
| result->LocalLookup(heap->callee_symbol(), &lookup);
|
| - ASSERT(lookup.IsFound() && (lookup.type() == FIELD));
|
| + ASSERT(lookup.IsField());
|
| ASSERT(lookup.GetFieldIndex() == Heap::kArgumentsCalleeIndex);
|
|
|
| result->LocalLookup(heap->length_symbol(), &lookup);
|
| - ASSERT(lookup.IsFound() && (lookup.type() == FIELD));
|
| + ASSERT(lookup.IsField());
|
| ASSERT(lookup.GetFieldIndex() == Heap::kArgumentsLengthIndex);
|
|
|
| ASSERT(result->map()->inobject_properties() > Heap::kArgumentsCalleeIndex);
|
| @@ -1178,7 +1178,7 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| #ifdef DEBUG
|
| LookupResult lookup(isolate);
|
| result->LocalLookup(heap->length_symbol(), &lookup);
|
| - ASSERT(lookup.IsFound() && (lookup.type() == FIELD));
|
| + ASSERT(lookup.IsField());
|
| ASSERT(lookup.GetFieldIndex() == Heap::kArgumentsLengthIndex);
|
|
|
| ASSERT(result->map()->inobject_properties() > Heap::kArgumentsLengthIndex);
|
|
|