Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: src/hydrogen.h

Issue 1306993003: Call JS functions via native context instead of js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/harmony-spread.js ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 3a53f873cc2f16a4ad503cb4be50d762a751a004..c45b313faff6df30717a3f5a3adb694a5603a413 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2003,10 +2003,9 @@ inline HInstruction* HGraphBuilder::AddUncasted<HReturn>(HConstant* value) {
template<>
inline HCallRuntime* HGraphBuilder::Add<HCallRuntime>(
- Handle<String> name,
const Runtime::Function* c_function,
int argument_count) {
- HCallRuntime* instr = New<HCallRuntime>(name, c_function, argument_count);
+ HCallRuntime* instr = New<HCallRuntime>(c_function, argument_count);
if (graph()->info()->IsStub()) {
// When compiling code stubs, we don't want to save all double registers
// upon entry to the stub, but instead have the call runtime instruction
@@ -2023,7 +2022,7 @@ inline HInstruction* HGraphBuilder::AddUncasted<HCallRuntime>(
Handle<String> name,
const Runtime::Function* c_function,
int argument_count) {
- return Add<HCallRuntime>(name, c_function, argument_count);
+ return Add<HCallRuntime>(c_function, argument_count);
}
« no previous file with comments | « src/harmony-spread.js ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698