| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/hydrogen-infer-representation.h" | 5 #include "src/hydrogen-infer-representation.h" |
| 6 | 6 |
| 7 namespace v8 { | 7 namespace v8 { |
| 8 namespace internal { | 8 namespace internal { |
| 9 | 9 |
| 10 void HInferRepresentationPhase::AddToWorklist(HValue* current) { | 10 void HInferRepresentationPhase::AddToWorklist(HValue* current) { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 if (current->CheckFlag(HInstruction::kCannotBeTagged)) { | 151 if (current->CheckFlag(HInstruction::kCannotBeTagged)) { |
| 152 current->ChangeRepresentation(Representation::Double()); | 152 current->ChangeRepresentation(Representation::Double()); |
| 153 } else { | 153 } else { |
| 154 current->ChangeRepresentation(Representation::Tagged()); | 154 current->ChangeRepresentation(Representation::Tagged()); |
| 155 } | 155 } |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 } | 158 } |
| 159 } | 159 } |
| 160 | 160 |
| 161 } } // namespace v8::internal | 161 } // namespace internal |
| 162 } // namespace v8 |
| OLD | NEW |