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
This commit is contained in:
parent
622e13f573
commit
00107efb02
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user