Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 2ce6aa906389c86a9a80cb114a7f21a6fe8a45e9..38a9fd0ad88425776d69b9485ac0ea852c81d91d 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -13162,6 +13162,11 @@ void HEnvironment::MarkAsTailCaller() { |
frame_type_ = TAIL_CALLER_FUNCTION; |
} |
+void HEnvironment::ClearTailCallerMark() { |
+ DCHECK_EQ(TAIL_CALLER_FUNCTION, frame_type()); |
+ frame_type_ = JS_FUNCTION; |
+} |
+ |
HEnvironment* HEnvironment::CopyForInlining( |
Handle<JSFunction> target, int arguments, FunctionLiteral* function, |
HConstant* undefined, InliningKind inlining_kind, |