| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 3029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3040 const ZoneGrowableArray<intptr_t>& cid_results() const { | 3040 const ZoneGrowableArray<intptr_t>& cid_results() const { |
| 3041 return cid_results_; | 3041 return cid_results_; |
| 3042 } | 3042 } |
| 3043 | 3043 |
| 3044 DECLARE_INSTRUCTION(TestCids); | 3044 DECLARE_INSTRUCTION(TestCids); |
| 3045 | 3045 |
| 3046 virtual ComparisonInstr* CopyWithNewOperands(Value* left, Value* right); | 3046 virtual ComparisonInstr* CopyWithNewOperands(Value* left, Value* right); |
| 3047 | 3047 |
| 3048 virtual CompileType ComputeType() const; | 3048 virtual CompileType ComputeType() const; |
| 3049 | 3049 |
| 3050 virtual Definition* Canonicalize(FlowGraph* flow_graph); |
| 3051 |
| 3050 virtual bool CanDeoptimize() const { | 3052 virtual bool CanDeoptimize() const { |
| 3051 return GetDeoptId() != Thread::kNoDeoptId; | 3053 return GetDeoptId() != Thread::kNoDeoptId; |
| 3052 } | 3054 } |
| 3053 | 3055 |
| 3054 virtual Representation RequiredInputRepresentation(intptr_t idx) const { | 3056 virtual Representation RequiredInputRepresentation(intptr_t idx) const { |
| 3055 return kTagged; | 3057 return kTagged; |
| 3056 } | 3058 } |
| 3057 | 3059 |
| 3058 virtual bool AttributesEqual(Instruction* other) const; | 3060 virtual bool AttributesEqual(Instruction* other) const; |
| 3059 | 3061 |
| (...skipping 5224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8284 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8286 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8285 UNIMPLEMENTED(); \ | 8287 UNIMPLEMENTED(); \ |
| 8286 return NULL; \ | 8288 return NULL; \ |
| 8287 } \ | 8289 } \ |
| 8288 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8290 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8289 | 8291 |
| 8290 | 8292 |
| 8291 } // namespace dart | 8293 } // namespace dart |
| 8292 | 8294 |
| 8293 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8295 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |