Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index a65995774dd911461c10c35c6a3f97e208ca2eac..4c400c5ac018dab4df1ee985b0f4facf652a7b17 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -1008,11 +1008,7 @@ class BackEdgeTable { |
return instruction_start_ + pc_offset(index); |
} |
- enum BackEdgeState { |
- INTERRUPT, |
- ON_STACK_REPLACEMENT, |
- OSR_AFTER_STACK_CHECK |
- }; |
+ enum BackEdgeState { INTERRUPT, ON_STACK_REPLACEMENT }; |
// Increase allowed loop nesting level by one and patch those matching loops. |
static void Patch(Isolate* isolate, Code* unoptimized_code); |
@@ -1027,13 +1023,6 @@ class BackEdgeTable { |
static void Revert(Isolate* isolate, |
Code* unoptimized_code); |
- // Change a back edge patched for on-stack replacement to perform a |
- // stack check first. |
- static void AddStackCheck(Handle<Code> code, uint32_t pc_offset); |
- |
- // Revert the patch by AddStackCheck. |
- static void RemoveStackCheck(Handle<Code> code, uint32_t pc_offset); |
- |
// Return the current patch state of the back edge. |
static BackEdgeState GetBackEdgeState(Isolate* isolate, |
Code* unoptimized_code, |