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
parent 390f0e6d
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment