Index: src/arm/ic-arm.cc |
=================================================================== |
--- src/arm/ic-arm.cc (revision 10217) |
+++ src/arm/ic-arm.cc (working copy) |
@@ -1587,6 +1587,9 @@ |
rewritten = stub.GetCode(); |
} else { |
ICCompareStub stub(op_, state); |
+ if (state == KNOWN_OBJECTS) { |
+ stub.set_known_map(Handle<Map>(Handle<JSObject>::cast(x)->map())); |
+ } |
rewritten = stub.GetCode(); |
} |
set_target(*rewritten); |