Permalink
Browse files

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
  • Loading branch information...
1 parent efe2514 commit 72f5bcb3aa6b3f55eac9ae7ba57dcb9867d0669f mikhail.naganov@gmail.com committed Dec 10, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/x64/ic-x64.cc
View
@@ -1951,10 +1951,8 @@ Condition CompareIC::ComputeCondition(Token::Value op) {
void CompareIC::UpdateCaches(Handle<Object> x, Handle<Object> y) {
HandleScope scope;
Handle<Code> 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<Object> x, Handle<Object> y) {
#endif
}
+void PatchInlinedSmiCode(Address address) {
+ UNIMPLEMENTED();
+}
+
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_X64

0 comments on commit 72f5bcb

Please sign in to comment.