Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 1ff706cab8b5af80c02d6d81ea88853a546c2dc2..3c687b8ae817690834b49da1e0bbad84aca9e004 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -4174,7 +4174,6 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
break; |
} |
case ON_STACK_REPLACEMENT: |
- case OSR_AFTER_STACK_CHECK: |
// <decrement profiling counter> |
// mov r0, r0 (NOP) |
// ; load on-stack replacement address into ip - either of (for ARMv7): |
@@ -4223,14 +4222,9 @@ BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState( |
DCHECK(Assembler::IsNop(Assembler::instr_at(branch_address))); |
- if (interrupt_address == |
- isolate->builtins()->OnStackReplacement()->entry()) { |
- return ON_STACK_REPLACEMENT; |
- } |
- |
DCHECK(interrupt_address == |
- isolate->builtins()->OsrAfterStackCheck()->entry()); |
- return OSR_AFTER_STACK_CHECK; |
+ isolate->builtins()->OnStackReplacement()->entry()); |
+ return ON_STACK_REPLACEMENT; |
} |