Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 3911) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -7143,7 +7143,7 @@ |
__ push(esi); |
__ push(edx); |
__ push(ecx); // Restore return address. |
- __ TailCallRuntime(ExternalReference(Runtime::kNewClosure), 2, 1); |
+ __ TailCallRuntime(Runtime::kNewClosure, 2, 1); |
} |
@@ -7187,7 +7187,7 @@ |
// Need to collect. Call into runtime system. |
__ bind(&gc); |
- __ TailCallRuntime(ExternalReference(Runtime::kNewContext), 1, 1); |
+ __ TailCallRuntime(Runtime::kNewContext, 1, 1); |
} |
@@ -7242,8 +7242,7 @@ |
__ ret(3 * kPointerSize); |
__ bind(&slow_case); |
- ExternalReference runtime(Runtime::kCreateArrayLiteralShallow); |
- __ TailCallRuntime(runtime, 3, 1); |
+ __ TailCallRuntime(Runtime::kCreateArrayLiteralShallow, 3, 1); |
} |
@@ -8653,7 +8652,7 @@ |
__ pop(ebx); // Return address. |
__ push(edx); |
__ push(ebx); |
- __ TailCallRuntime(ExternalReference(Runtime::kGetArgumentsProperty), 1, 1); |
+ __ TailCallRuntime(Runtime::kGetArgumentsProperty, 1, 1); |
} |
@@ -8754,7 +8753,7 @@ |
// Do the runtime call to allocate the arguments object. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3, 1); |
+ __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); |
} |
@@ -8763,10 +8762,10 @@ |
// time or if regexp entry in generated code is turned off runtime switch or |
// at compilation. |
#ifndef V8_NATIVE_REGEXP |
- __ TailCallRuntime(ExternalReference(Runtime::kRegExpExec), 4, 1); |
+ __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); |
#else // V8_NATIVE_REGEXP |
if (!FLAG_regexp_entry_native) { |
- __ TailCallRuntime(ExternalReference(Runtime::kRegExpExec), 4, 1); |
+ __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); |
return; |
} |
@@ -9088,7 +9087,7 @@ |
// Do the runtime call to execute the regexp. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kRegExpExec), 4, 1); |
+ __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); |
#endif // V8_NATIVE_REGEXP |
} |
@@ -9157,7 +9156,7 @@ |
__ bind(&runtime); |
// Handle number to string in the runtime system if not found in the cache. |
- __ TailCallRuntime(ExternalReference(Runtime::kNumberToString), 1, 1); |
+ __ TailCallRuntime(Runtime::kNumberToString, 1, 1); |
} |
@@ -9442,7 +9441,7 @@ |
__ push(eax); |
// Do tail-call to runtime routine. |
- __ TailCallRuntime(ExternalReference(Runtime::kStackGuard), 1, 1); |
+ __ TailCallRuntime(Runtime::kStackGuard, 1, 1); |
} |
@@ -9603,7 +9602,7 @@ |
__ LeaveExitFrame(ExitFrame::MODE_NORMAL); |
__ ret(0); |
__ bind(&promote_scheduled_exception); |
- __ TailCallRuntime(ExternalReference(Runtime::kPromoteScheduledException), |
+ __ TailCallRuntime(Runtime::kPromoteScheduledException, |
0, |
1); |
} |
@@ -10234,7 +10233,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); |
} |
@@ -10644,7 +10643,7 @@ |
// Just jump to runtime to create the sub string. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kSubString), 3, 1); |
+ __ TailCallRuntime(Runtime::kSubString, 3, 1); |
} |
@@ -10760,7 +10759,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); |
} |
#undef __ |