Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 0f1a90d22df353aaa98b55bd7d511abb88b60305..4dc3572c139b3d0a06a3773e466d92992bb570ac 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -4171,7 +4171,6 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
patcher.b(6, pl); |
break; |
case ON_STACK_REPLACEMENT: |
- case OSR_AFTER_STACK_CHECK: |
// <decrement profiling counter> |
// .. .. .. .. mov x0, x0 (NOP) |
// .. .. .. .. ldr x16, pc+<on-stack replacement address> |
@@ -4192,9 +4191,6 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
isolate->builtins()->InterruptCheck()->entry())) || |
(Memory::uint64_at(interrupt_address_pointer) == |
reinterpret_cast<uint64_t>( |
- isolate->builtins()->OsrAfterStackCheck()->entry())) || |
- (Memory::uint64_at(interrupt_address_pointer) == |
- reinterpret_cast<uint64_t>( |
isolate->builtins()->OnStackReplacement()->entry()))); |
Memory::uint64_at(interrupt_address_pointer) = |
reinterpret_cast<uint64_t>(replacement_code->entry()); |
@@ -4220,9 +4216,6 @@ BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState( |
if (entry == reinterpret_cast<uint64_t>( |
isolate->builtins()->OnStackReplacement()->entry())) { |
return ON_STACK_REPLACEMENT; |
- } else if (entry == reinterpret_cast<uint64_t>( |
- isolate->builtins()->OsrAfterStackCheck()->entry())) { |
- return OSR_AFTER_STACK_CHECK; |
} else { |
UNREACHABLE(); |
} |