Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 6471) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -1548,7 +1548,7 @@ |
void FullCodeGenerator::EmitBinaryOp(Token::Value op, |
OverwriteMode mode) { |
__ pop(r1); |
- if (op == Token::ADD) { |
+ if (op == Token::ADD || op == Token::SUB) { |
TypeRecordingBinaryOpStub stub(op, mode); |
__ CallStub(&stub); |
} else { |