| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 } | 328 } |
| 329 | 329 |
| 330 CompileType* Type(); | 330 CompileType* Type(); |
| 331 | 331 |
| 332 void SetReachingType(CompileType* type) { | 332 void SetReachingType(CompileType* type) { |
| 333 reaching_type_ = type; | 333 reaching_type_ = type; |
| 334 } | 334 } |
| 335 | 335 |
| 336 void PrintTo(BufferFormatter* f) const; | 336 void PrintTo(BufferFormatter* f) const; |
| 337 | 337 |
| 338 const char* ToCString() const; |
| 339 |
| 338 const char* DebugName() const { return "Value"; } | 340 const char* DebugName() const { return "Value"; } |
| 339 | 341 |
| 340 bool IsSmiValue() { return Type()->ToCid() == kSmiCid; } | 342 bool IsSmiValue() { return Type()->ToCid() == kSmiCid; } |
| 341 | 343 |
| 342 // Returns true if this value binds to the constant: 0xFFFFFFFF. | 344 // Returns true if this value binds to the constant: 0xFFFFFFFF. |
| 343 bool BindsTo32BitMaskConstant() const; | 345 bool BindsTo32BitMaskConstant() const; |
| 344 | 346 |
| 345 // Return true if the value represents a constant. | 347 // Return true if the value represents a constant. |
| 346 bool BindsToConstant() const; | 348 bool BindsToConstant() const; |
| 347 | 349 |
| (...skipping 7751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8099 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8101 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8100 UNIMPLEMENTED(); \ | 8102 UNIMPLEMENTED(); \ |
| 8101 return NULL; \ | 8103 return NULL; \ |
| 8102 } \ | 8104 } \ |
| 8103 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8105 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8104 | 8106 |
| 8105 | 8107 |
| 8106 } // namespace dart | 8108 } // namespace dart |
| 8107 | 8109 |
| 8108 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8110 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |