From 72f5bcb3aa6b3f55eac9ae7ba57dcb9867d0669f Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Fri, 10 Dec 2010 16:33:36 +0000 Subject: [PATCH] Fix x64 build after r5970, the same way as for ARM. TBR=fschneider@chromium.org Review URL: http://codereview.chromium.org/5709005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5973 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x64/ic-x64.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc index 2002099..a7e61ba 100644 --- a/src/x64/ic-x64.cc +++ b/src/x64/ic-x64.cc @@ -1951,10 +1951,8 @@ Condition CompareIC::ComputeCondition(Token::Value op) { void CompareIC::UpdateCaches(Handle x, Handle y) { HandleScope scope; Handle rewritten; -#ifdef DEBUG State previous_state = GetState(); -#endif - State state = TargetState(x, y); + State state = TargetState(previous_state, x, y); if (state == GENERIC) { CompareStub stub(GetCondition(), strict(), NO_COMPARE_FLAGS); rewritten = stub.GetCode(); @@ -1974,6 +1972,10 @@ void CompareIC::UpdateCaches(Handle x, Handle y) { #endif } +void PatchInlinedSmiCode(Address address) { + UNIMPLEMENTED(); +} + } } // namespace v8::internal #endif // V8_TARGET_ARCH_X64 -- 2.7.4