Commit 4c6329c8 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

ARM: Try to fix broken commit r6504

Commit contained wrong assert and was missing call to the runtime system for MUL.

TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/6338019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6506 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3141494c
......@@ -2628,7 +2628,7 @@ void TypeRecordingBinaryOpStub::GenerateStringStub(MacroAssembler* masm) {
void TypeRecordingBinaryOpStub::GenerateInt32Stub(MacroAssembler* masm) {
ASSERT(op_ == Token::ADD || op_ == Token::SUB || op_ == Token::SUB);
ASSERT(op_ == Token::ADD || op_ == Token::SUB || op_ == Token::MUL);
ASSERT(operands_type_ == TRBinaryOpIC::INT32);
......@@ -2773,6 +2773,9 @@ void TypeRecordingBinaryOpStub::GenerateCallRuntime(MacroAssembler* masm) {
case Token::SUB:
__ InvokeBuiltin(Builtins::SUB, JUMP_JS);
break;
case Token::MUL:
__ InvokeBuiltin(Builtins::MUL, JUMP_JS);
break;
default:
UNREACHABLE();
}
......
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