From 0d0b40fe97d4150e3a7ae0c7370f90af7d270643 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Thu, 2 Jan 2014 06:10:58 +0000 Subject: [PATCH] [arm] Use single instruction tail call sequence. R=ulan@chromium.org Review URL: https://codereview.chromium.org/107813003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18426 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm/macro-assembler-arm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc index a754f2d..a9acdd5 100644 --- a/src/arm/macro-assembler-arm.cc +++ b/src/arm/macro-assembler-arm.cc @@ -59,8 +59,8 @@ void MacroAssembler::Jump(Register target, Condition cond) { void MacroAssembler::Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond) { - mov(ip, Operand(target, rmode)); - bx(ip, cond); + ASSERT(RelocInfo::IsCodeTarget(rmode)); + mov(pc, Operand(target, rmode), LeaveCC, cond); } -- 2.7.4