Index: src/x64/ic-x64.cc |
=================================================================== |
--- src/x64/ic-x64.cc (revision 5976) |
+++ src/x64/ic-x64.cc (working copy) |
@@ -1951,8 +1951,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); |
rewritten = stub.GetCode(); |
@@ -1972,10 +1974,6 @@ |
#endif |
} |
-void PatchInlinedSmiCode(Address address) { |
- UNIMPLEMENTED(); |
-} |
- |
} } // namespace v8::internal |
#endif // V8_TARGET_ARCH_X64 |