Author: [email protected]
Date: Mon Jun 15 07:27:57 2009
New Revision: 2171
Modified:
branches/bleeding_edge/src/arm/codegen-arm.cc
Log:
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
Modified: branches/bleeding_edge/src/arm/codegen-arm.cc
==============================================================================
--- branches/bleeding_edge/src/arm/codegen-arm.cc (original)
+++ branches/bleeding_edge/src/arm/codegen-arm.cc Mon Jun 15 07:27:57 2009
@@ -3419,10 +3419,10 @@
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);
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---