| 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 16bd8bc27d2109dcbfb63e546978829f4c31ba00..2c37f557f1cf85b8218339db2c40e69003762a77 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -348,6 +348,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;
|
|
|