From 148f1c1701f64efe66b3034611af6a017df06428 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Fri, 23 Mar 2012 12:20:03 +0000 Subject: [PATCH] Fix deopt condition in ForIn on x64 TEST=no more deopts in string-fasta Review URL: https://chromiumcodereview.appspot.com/9836032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x64/lithium-codegen-x64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc index 0ad6055..0555aeb 100644 --- a/src/x64/lithium-codegen-x64.cc +++ b/src/x64/lithium-codegen-x64.cc @@ -4727,7 +4727,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { __ movq(result, FieldOperand(result, FixedArray::SizeFor(instr->idx()))); Condition cc = masm()->CheckSmi(result); - DeoptimizeIf(NegateCondition(cc), instr->environment()); + DeoptimizeIf(cc, instr->environment()); } -- 2.7.4