| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index bd6aa13c83099d026cea0a566877f03709f77e13..cede9acaddf1c13a46b359b37c55893ab54f2038 100644
|
| --- a/src/full-codegen.h
|
| +++ b/src/full-codegen.h
|
| @@ -890,10 +890,8 @@ class BackEdgeTable {
|
| OSR_AFTER_STACK_CHECK
|
| };
|
|
|
| - // Patch all interrupts with allowed loop depth in the unoptimized code to
|
| - // unconditionally call replacement_code.
|
| - static void Patch(Isolate* isolate,
|
| - Code* unoptimized_code);
|
| + // Increase allowed loop nesting level by one and patch those matching loops.
|
| + static void Patch(Isolate* isolate, Code* unoptimized_code);
|
|
|
| // Patch the back edge to the target state, provided the correct callee.
|
| static void PatchAt(Code* unoptimized_code,
|
| @@ -919,9 +917,7 @@ class BackEdgeTable {
|
|
|
| #ifdef DEBUG
|
| // Verify that all back edges of a certain loop depth are patched.
|
| - static bool Verify(Isolate* isolate,
|
| - Code* unoptimized_code,
|
| - int loop_nesting_level);
|
| + static bool Verify(Isolate* isolate, Code* unoptimized_code);
|
| #endif // DEBUG
|
|
|
| private:
|
|
|