Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index a6c2c06ec9868e1c4600a2cf483393c4fc2eb4b7..e99963dfbbc605fc362d73ea62b9a75cd89d0b87 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -294,7 +294,7 @@ Object* DeclareLookupSlot(Isolate* isolate, Handle<String> name, |
DCHECK(context->IsBlockContext()); |
object = isolate->factory()->NewJSObject( |
isolate->context_extension_function()); |
- Handle<Object> extension = |
+ Handle<HeapObject> extension = |
isolate->factory()->NewSloppyBlockWithEvalContextExtension( |
handle(context->scope_info()), object); |
context->set_extension(*extension); |