Index: src/compiler/linkage-impl.h |
diff --git a/src/compiler/linkage-impl.h b/src/compiler/linkage-impl.h |
index c4a8007bb8a3820608bcd84e8fc2e667e72b3d02..9cd992063a9d1d3fbf6be5a46c00fcfcd6264648 100644 |
--- a/src/compiler/linkage-impl.h |
+++ b/src/compiler/linkage-impl.h |
@@ -199,26 +199,6 @@ class LinkageHelper { |
CallDescriptor::kNoFlags); // TODO(jarin) should deoptimize! |
} |
}; |
- |
- |
-bool Linkage::NeedsFrameState(Runtime::FunctionId function) { |
- if (!FLAG_turbo_deoptimization) { |
- return false; |
- } |
- // TODO(jarin) At the moment, we only add frame state for |
- // few chosen runtime functions. |
- switch (function) { |
- case Runtime::kDebugBreak: |
- case Runtime::kDeoptimizeFunction: |
- case Runtime::kSetScriptBreakPoint: |
- case Runtime::kDebugGetLoadedScripts: |
- case Runtime::kStackGuard: |
- return true; |
- default: |
- return false; |
- } |
-} |
- |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |