| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index 40b78366bb5f22a6e208fe8c601f8e47d23ac545..00b08777552be6650864a5ee717ee2d0a9621e2a 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -347,6 +347,11 @@ void FullCodeGenerator::Generate() {
|
| VisitDeclarations(scope()->declarations());
|
| }
|
|
|
| + // Assert that the declarations do not use ICs. Otherwise the debugger
|
| + // won't be able to redirect a PC at an IC to the correct IC in newly
|
| + // recompiled code.
|
| + DCHECK_EQ(0, ic_total_count_);
|
| +
|
| { Comment cmnt(masm_, "[ Stack check");
|
| PrepareForBailoutForId(BailoutId::Declarations(), NO_REGISTERS);
|
| Label ok;
|
|
|