| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index faf111fa410a94215b9e9638f8b01e6c29f48437..b49337ac37ce32730035539a4eecf149d42e362e 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -448,18 +448,8 @@ void FullCodeGenerator::PrepareForBailoutForId(BailoutId id, State state) {
|
| StateField::encode(state) | PcField::encode(masm_->pc_offset());
|
| ASSERT(Smi::IsValid(pc_and_state));
|
| BailoutEntry entry = { id, pc_and_state };
|
| -#ifdef DEBUG
|
| - if (FLAG_enable_slow_asserts) {
|
| - // Assert that we don't have multiple bailout entries for the same node.
|
| - for (int i = 0; i < bailout_entries_.length(); i++) {
|
| - if (bailout_entries_.at(i).id == entry.id) {
|
| - AstPrinter printer;
|
| - PrintF("%s", printer.PrintProgram(info_->function()));
|
| - UNREACHABLE();
|
| - }
|
| - }
|
| - }
|
| -#endif // DEBUG
|
| + ASSERT(!prepared_bailout_ids_.Contains(id.ToInt()));
|
| + prepared_bailout_ids_.Add(id.ToInt(), zone());
|
| bailout_entries_.Add(entry, zone());
|
| }
|
|
|
|
|