Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 97f799eac3525835f510da54da0bf4152d692750..76f6086be87e25ebac28fabecceccd8efe34dabb 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1783,27 +1783,6 @@ void BackEdgeTable::Revert(Isolate* isolate, Code* unoptimized) { |
} |
-void BackEdgeTable::AddStackCheck(Handle<Code> code, uint32_t pc_offset) { |
- DisallowHeapAllocation no_gc; |
- Isolate* isolate = code->GetIsolate(); |
- Address pc = code->instruction_start() + pc_offset; |
- Code* patch = isolate->builtins()->builtin(Builtins::kOsrAfterStackCheck); |
- PatchAt(*code, pc, OSR_AFTER_STACK_CHECK, patch); |
-} |
- |
- |
-void BackEdgeTable::RemoveStackCheck(Handle<Code> code, uint32_t pc_offset) { |
- DisallowHeapAllocation no_gc; |
- Isolate* isolate = code->GetIsolate(); |
- Address pc = code->instruction_start() + pc_offset; |
- |
- if (OSR_AFTER_STACK_CHECK == GetBackEdgeState(isolate, *code, pc)) { |
- Code* patch = isolate->builtins()->builtin(Builtins::kOnStackReplacement); |
- PatchAt(*code, pc, ON_STACK_REPLACEMENT, patch); |
- } |
-} |
- |
- |
#ifdef DEBUG |
bool BackEdgeTable::Verify(Isolate* isolate, Code* unoptimized) { |
DisallowHeapAllocation no_gc; |