| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 9c8e8348f15a1ea75e68c4f601e9e89d2e2e9b70..6c82f3d6df613f54ebcde31a7511c170f8535196 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1016,9 +1016,6 @@ void LChunkBuilder::DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block) {
|
| HInstruction* current = block->first();
|
| int start = chunk_->instructions()->length();
|
| while (current != NULL && !is_aborted()) {
|
| - if (FLAG_trace_environment) {
|
| - PrintF("Process instruction %d\n", current->id());
|
| - }
|
| // Code for constants in registers is generated lazily.
|
| if (!current->EmitAtUses()) {
|
| VisitInstruction(current);
|
| @@ -1125,7 +1122,7 @@ LEnvironment* LChunkBuilder::CreateEnvironment(HEnvironment* hydrogen_env) {
|
| LEnvironment* outer = CreateEnvironment(hydrogen_env->outer());
|
| int ast_id = hydrogen_env->ast_id();
|
| ASSERT(ast_id != AstNode::kNoNumber);
|
| - int value_count = hydrogen_env->values()->length();
|
| + int value_count = hydrogen_env->length();
|
| LEnvironment* result = new LEnvironment(hydrogen_env->closure(),
|
| ast_id,
|
| hydrogen_env->parameter_count(),
|
| @@ -2058,13 +2055,7 @@ LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) {
|
| }
|
| }
|
|
|
| - if (FLAG_trace_environment) {
|
| - PrintF("Reconstructed environment ast_id=%d, instr_id=%d\n",
|
| - instr->ast_id(),
|
| - instr->id());
|
| - env->PrintToStd();
|
| - }
|
| - ASSERT(env->values()->length() == instr->environment_height());
|
| + ASSERT(env->length() == instr->environment_length());
|
|
|
| // If there is an instruction pending deoptimization environment create a
|
| // lazy bailout instruction to capture the environment.
|
|
|