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

Unified Diff: src/runtime/runtime.h

Issue 1254073003: Tail call from TurboFan into select runtime calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Smaller patch Created 5 years, 5 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
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 1e2471cf95287f12ffe4c8132630e5d039fa8c66..2c2f4d3acce1bf3243e9c366e45e599cb420dc50 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -874,6 +874,9 @@ class Runtime : public AllStatic {
// Get the intrinsic function with the given function entry address.
static const Function* FunctionForEntry(Address ref);
+ // Returns whether a runtime call supports being invoked via tail call.
+ static bool SupportsTailCall(FunctionId id);
+
MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty(
Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key,
LanguageMode language_mode);

Powered by Google App Engine
This is Rietveld 408576698