| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 9b2952bae963797c14a400cf9d6250bd817f6635..2bad095dfe8f72ef18c6ca7b6d6760e84d868775 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -353,13 +353,6 @@ void FullCodeGenerator::EmitBackEdgeBookkeeping(IterationStatement* stmt,
|
| // the deoptimization input data found in the optimized code.
|
| RecordBackEdge(stmt->OsrEntryId());
|
|
|
| - // Loop stack checks can be patched to perform on-stack replacement. In
|
| - // order to decide whether or not to perform OSR we embed the loop depth
|
| - // in a test instruction after the call so we can extract it from the OSR
|
| - // builtin.
|
| - ASSERT(loop_depth() > 0);
|
| - __ test(eax, Immediate(Min(loop_depth(), Code::kMaxLoopNestingMarker)));
|
| -
|
| EmitProfilingCounterReset();
|
|
|
| __ bind(&ok);
|
|
|