Index: src/arm/codegen-arm.cc |
=================================================================== |
--- src/arm/codegen-arm.cc (revision 2155) |
+++ src/arm/codegen-arm.cc (working copy) |
@@ -3405,6 +3405,15 @@ |
} |
+void CodeGenerator::GenerateRandomPositiveSmi(ZoneList<Expression*>* args) { |
+ VirtualFrame::SpilledScope spilled_scope; |
+ ASSERT(args->length() == 0); |
+ __ Call(ExternalReference::random_positive_smi_function().address(), |
+ RelocInfo::RUNTIME_ENTRY); |
+ frame_->EmitPush(r0); |
+} |
+ |
+ |
void CodeGenerator::GenerateObjectEquals(ZoneList<Expression*>* args) { |
VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 2); |