Index: src/arm/codegen-arm.cc |
=================================================================== |
--- src/arm/codegen-arm.cc (revision 3935) |
+++ src/arm/codegen-arm.cc (working copy) |
@@ -4511,7 +4511,7 @@ |
__ bind(&gc); |
__ push(cp); |
__ push(r3); |
- __ TailCallRuntime(ExternalReference(Runtime::kNewClosure), 2, 1); |
+ __ TailCallRuntime(Runtime::kNewClosure, 2, 1); |
} |
@@ -4561,7 +4561,7 @@ |
// Need to collect. Call into runtime system. |
__ bind(&gc); |
- __ TailCallRuntime(ExternalReference(Runtime::kNewContext), 1, 1); |
+ __ TailCallRuntime(Runtime::kNewContext, 1, 1); |
} |
@@ -4623,8 +4623,7 @@ |
__ Ret(); |
__ bind(&slow_case); |
- ExternalReference runtime(Runtime::kCreateArrayLiteralShallow); |
- __ TailCallRuntime(runtime, 3, 1); |
+ __ TailCallRuntime(Runtime::kCreateArrayLiteralShallow, 3, 1); |
} |
@@ -6197,7 +6196,7 @@ |
// argument, so give it a Smi. |
__ mov(r0, Operand(Smi::FromInt(0))); |
__ push(r0); |
- __ TailCallRuntime(ExternalReference(Runtime::kStackGuard), 1, 1); |
+ __ TailCallRuntime(Runtime::kStackGuard, 1, 1); |
__ StubReturn(1); |
} |
@@ -6806,7 +6805,7 @@ |
// by calling the runtime system. |
__ bind(&slow); |
__ push(r1); |
- __ TailCallRuntime(ExternalReference(Runtime::kGetArgumentsProperty), 1, 1); |
+ __ TailCallRuntime(Runtime::kGetArgumentsProperty, 1, 1); |
} |
@@ -6909,7 +6908,7 @@ |
// Do the runtime call to allocate the arguments object. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3, 1); |
+ __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); |
} |
@@ -7353,7 +7352,7 @@ |
// Just jump to runtime to create the sub string. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kSubString), 3, 1); |
+ __ TailCallRuntime(Runtime::kSubString, 3, 1); |
} |
@@ -7444,7 +7443,7 @@ |
// Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) |
// tagged as a small integer. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kStringCompare), 2, 1); |
+ __ TailCallRuntime(Runtime::kStringCompare, 2, 1); |
} |
@@ -7658,7 +7657,7 @@ |
// Just jump to runtime to add the two strings. |
__ bind(&string_add_runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kStringAdd), 2, 1); |
+ __ TailCallRuntime(Runtime::kStringAdd, 2, 1); |
} |