| Index: src/x64/codegen-x64.cc
 | 
| ===================================================================
 | 
| --- src/x64/codegen-x64.cc	(revision 3911)
 | 
| +++ src/x64/codegen-x64.cc	(working copy)
 | 
| @@ -6304,7 +6304,7 @@
 | 
|    __ push(rsi);
 | 
|    __ push(rdx);
 | 
|    __ push(rcx);  // Restore return address.
 | 
| -  __ TailCallRuntime(ExternalReference(Runtime::kNewClosure), 2, 1);
 | 
| +  __ TailCallRuntime(Runtime::kNewClosure, 2, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -6346,7 +6346,7 @@
 | 
|  
 | 
|    // Need to collect. Call into runtime system.
 | 
|    __ bind(&gc);
 | 
| -  __ TailCallRuntime(ExternalReference(Runtime::kNewContext), 1, 1);
 | 
| +  __ TailCallRuntime(Runtime::kNewContext, 1, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -6402,8 +6402,7 @@
 | 
|    __ ret(3 * kPointerSize);
 | 
|  
 | 
|    __ bind(&slow_case);
 | 
| -  ExternalReference runtime(Runtime::kCreateArrayLiteralShallow);
 | 
| -  __ TailCallRuntime(runtime, 3, 1);
 | 
| +  __ TailCallRuntime(Runtime::kCreateArrayLiteralShallow, 3, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -6762,10 +6761,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;
 | 
|    }
 | 
|  
 | 
| @@ -7109,7 +7108,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
 | 
|  }
 | 
|  
 | 
| @@ -7520,7 +7519,7 @@
 | 
|  
 | 
|    // Do the runtime call to allocate the arguments object.
 | 
|    __ bind(&runtime);
 | 
| -  __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3, 1);
 | 
| +  __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -7577,9 +7576,7 @@
 | 
|    __ pop(rbx);  // Return address.
 | 
|    __ push(rdx);
 | 
|    __ push(rbx);
 | 
| -  Runtime::Function* f =
 | 
| -      Runtime::FunctionForId(Runtime::kGetArgumentsProperty);
 | 
| -  __ TailCallRuntime(ExternalReference(f), 1, f->result_size);
 | 
| +  __ TailCallRuntime(Runtime::kGetArgumentsProperty, 1, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -8068,8 +8065,7 @@
 | 
|    __ push(rax);
 | 
|  
 | 
|    // Do tail-call to runtime routine.
 | 
| -  Runtime::Function* f = Runtime::FunctionForId(Runtime::kStackGuard);
 | 
| -  __ TailCallRuntime(ExternalReference(f), 1, f->result_size);
 | 
| +  __ TailCallRuntime(Runtime::kStackGuard, 1, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -9067,7 +9063,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);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -9261,7 +9257,7 @@
 | 
|  
 | 
|    // Just jump to runtime to create the sub string.
 | 
|    __ bind(&runtime);
 | 
| -  __ TailCallRuntime(ExternalReference(Runtime::kSubString), 3, 1);
 | 
| +  __ TailCallRuntime(Runtime::kSubString, 3, 1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -9381,7 +9377,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 __
 | 
| 
 |