Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index ef4d12a1950a7e263ffea99fbb6079c8eb6c359b..e3912f1c949548d4bd2b4833fa2863307cf07ba2 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -4009,7 +4009,6 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
*jns_offset_address = kJnsOffset; |
break; |
case ON_STACK_REPLACEMENT: |
- case OSR_AFTER_STACK_CHECK: |
// sub <profiling_counter>, <delta> ;; Not changed |
// nop |
// nop |
@@ -4047,15 +4046,10 @@ BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState( |
DCHECK_EQ(kNopByteOne, *jns_instr_address); |
DCHECK_EQ(kNopByteTwo, *(call_target_address - 2)); |
- if (Assembler::target_address_at(call_target_address, unoptimized_code) == |
- isolate->builtins()->OnStackReplacement()->entry()) { |
- return ON_STACK_REPLACEMENT; |
- } |
- |
- DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), |
- Assembler::target_address_at(call_target_address, |
- unoptimized_code)); |
- return OSR_AFTER_STACK_CHECK; |
+ DCHECK_EQ( |
+ isolate->builtins()->OnStackReplacement()->entry(), |
+ Assembler::target_address_at(call_target_address, unoptimized_code)); |
+ return ON_STACK_REPLACEMENT; |
} |