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

Unified Diff: src/hydrogen.h

Issue 12263004: Allow full inlining of f.apply(this, arguments) calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 | « no previous file | src/hydrogen.cc » ('j') | test/mjsunit/compiler/inline-function-apply.js » ('J')
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 7c34bbaf3c184953fa829b80c5c2042db393e62a..bd0b9cf0b6570f1720704e051b57eb7cd498674a 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1248,6 +1248,9 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
bool TryInlineSetter(Handle<JSFunction> setter,
Assignment* assignment,
HValue* implicit_return_value);
+ bool TryInlineApply(Handle<JSFunction> function,
+ Call* expr,
+ int arguments_count);
bool TryInlineBuiltinMethodCall(Call* expr,
HValue* receiver,
Handle<Map> receiver_map,
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | test/mjsunit/compiler/inline-function-apply.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698