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
parent 8ece310b
......@@ -611,7 +611,6 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr,
}
__ bind(&check);
__ Cset(reg, cc);
__ B(&done);
__ Bind(&done);
}
......
......@@ -184,7 +184,7 @@ void InstructionSelector::VisitLoad(Node* node) {
if (g.CanBeImmediate(index, kLoadStoreImm)) {
Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
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,
g.UseRegister(index), g.UseImmediate(base));
} else {
......
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