Commit 00107efb authored by ager@chromium.org's avatar ager@chromium.org

Use the correct version of CallRuntime in the arm code generator.

This fixes assertion failures in debug mode tests.
Review URL: http://codereview.chromium.org/126128

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2171 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 622e13f5
......@@ -3419,10 +3419,10 @@ void CodeGenerator::GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args) {
LoadAndSpill(args->at(0));
switch (op) {
case SIN:
__ CallRuntime(Runtime::kMath_sin, 1);
frame_->CallRuntime(Runtime::kMath_sin, 1);
break;
case COS:
__ CallRuntime(Runtime::kMath_cos, 1);
frame_->CallRuntime(Runtime::kMath_cos, 1);
break;
}
frame_->EmitPush(r0);
......
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