ARM64: minor corrections for TF.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/462573002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23049 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rodolph.perfetta@arm.com 2014-08-11 15:40:11 +00:00
parent 8ece310be8
commit 7125d6b643
2 changed files with 1 additions and 2 deletions

View File

@ -611,7 +611,6 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr,
} }
__ bind(&check); __ bind(&check);
__ Cset(reg, cc); __ Cset(reg, cc);
__ B(&done);
__ Bind(&done); __ Bind(&done);
} }

View File

@ -184,7 +184,7 @@ void InstructionSelector::VisitLoad(Node* node) {
if (g.CanBeImmediate(index, kLoadStoreImm)) { if (g.CanBeImmediate(index, kLoadStoreImm)) {
Emit(opcode | AddressingModeField::encode(kMode_MRI), result, Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
g.UseRegister(base), g.UseImmediate(index)); g.UseRegister(base), g.UseImmediate(index));
} else if (g.CanBeImmediate(index, kLoadStoreImm)) { } else if (g.CanBeImmediate(base, kLoadStoreImm)) {
Emit(opcode | AddressingModeField::encode(kMode_MRI), result, Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
g.UseRegister(index), g.UseImmediate(base)); g.UseRegister(index), g.UseImmediate(base));
} else { } else {