Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index d92d22df40eb71fb14c3fdd53b9645d6226a661e..6e647ced4bab34c3e83fce9fdf497a183bc6501b 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1328,7 +1328,7 @@ |
TargetMaps(&target_receiver_maps); |
if (target_receiver_maps.length() == 0) { |
- Handle<Object> handler = |
+ Handle<Code> handler = |
ElementHandlerCompiler::GetKeyedLoadHandler(receiver_map, isolate()); |
return ConfigureVectorState(Handle<Name>(), receiver_map, handler); |
} |
@@ -1357,7 +1357,7 @@ |
IsMoreGeneralElementsKindTransition( |
target_receiver_maps.at(0)->elements_kind(), |
Handle<JSObject>::cast(receiver)->GetElementsKind())) { |
- Handle<Object> handler = |
+ Handle<Code> handler = |
ElementHandlerCompiler::GetKeyedLoadHandler(receiver_map, isolate()); |
return ConfigureVectorState(Handle<Name>(), receiver_map, handler); |
} |