| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 939a5fac809954542b5a76c0ffda3df93f9bf669..feff6f9bdf9d5bc7ea315df02814f9af78ee7f68 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -5439,8 +5439,7 @@ void HGraph::MarkLiveInstructions() {
|
| }
|
|
|
|
|
| -void HGraph::MarkLive(HValue *ref, HValue* instr,
|
| - ZoneList<HValue*>* worklist) {
|
| +void HGraph::MarkLive(HValue* ref, HValue* instr, ZoneList<HValue*>* worklist) {
|
| if (!instr->CheckFlag(HValue::kIsLive)) {
|
| instr->SetFlag(HValue::kIsLive);
|
| worklist->Add(instr, zone());
|
| @@ -5448,6 +5447,7 @@ void HGraph::MarkLive(HValue *ref, HValue* instr,
|
| if (FLAG_trace_dead_code_elimination) {
|
| HeapStringAllocator allocator;
|
| StringStream stream(&allocator);
|
| + ALLOW_HANDLE_DEREF(isolate(), "debug mode printing");
|
| if (ref != NULL) {
|
| ref->PrintTo(&stream);
|
| } else {
|
| @@ -10329,7 +10329,7 @@ bool HOptimizedGraphBuilder::MatchRotateRight(HValue* left,
|
| }
|
|
|
|
|
| -bool CanBeZero(HValue *right) {
|
| +bool CanBeZero(HValue* right) {
|
| if (right->IsConstant()) {
|
| HConstant* right_const = HConstant::cast(right);
|
| if (right_const->HasInteger32Value() &&
|
|
|