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

Unified Diff: src/compiler/linkage.h

Issue 1216933011: [turbofan] Enable tail calls for %_CallFunction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix platform ports Created 5 years, 6 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/compiler/js-operator.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.h
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h
index ea130d7ddf1df33cd1d497f3a391864732720e99..e403f63bb14ac890ded2dd295d1131538627a734 100644
--- a/src/compiler/linkage.h
+++ b/src/compiler/linkage.h
@@ -20,6 +20,7 @@ class CallInterfaceDescriptor;
namespace compiler {
+class Node;
class OsrHelper;
// Describes the location for a parameter or a return value to a call.
@@ -167,6 +168,8 @@ class CallDescriptor final : public ZoneObject {
bool HasSameReturnLocationsAs(const CallDescriptor* other) const;
+ bool CanTailCall(const Node* call) const;
+
private:
friend class Linkage;
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698