Index: src/arm/ic-arm.cc |
=================================================================== |
--- src/arm/ic-arm.cc (revision 5976) |
+++ src/arm/ic-arm.cc (working copy) |
@@ -2360,8 +2360,10 @@ |
void CompareIC::UpdateCaches(Handle<Object> x, Handle<Object> y) { |
HandleScope scope; |
Handle<Code> rewritten; |
+#ifdef DEBUG |
State previous_state = GetState(); |
- State state = TargetState(previous_state, x, y); |
+#endif |
+ State state = TargetState(x, y); |
if (state == GENERIC) { |
CompareStub stub(GetCondition(), strict(), NO_COMPARE_FLAGS, r1, r0); |
rewritten = stub.GetCode(); |
@@ -2381,12 +2383,6 @@ |
#endif |
} |
- |
-void PatchInlinedSmiCode(Address address) { |
- UNIMPLEMENTED(); |
-} |
- |
- |
} } // namespace v8::internal |
#endif // V8_TARGET_ARCH_ARM |