| 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 8355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8366 return fixed_parameter_count_; | 8366 return fixed_parameter_count_; |
| 8367 } | 8367 } |
| 8368 | 8368 |
| 8369 const Code& code() const { return parsed_function_->code(); } | 8369 const Code& code() const { return parsed_function_->code(); } |
| 8370 | 8370 |
| 8371 Environment* DeepCopy(Isolate* isolate) const { | 8371 Environment* DeepCopy(Isolate* isolate) const { |
| 8372 return DeepCopy(isolate, Length()); | 8372 return DeepCopy(isolate, Length()); |
| 8373 } | 8373 } |
| 8374 | 8374 |
| 8375 void DeepCopyTo(Isolate* isolate, Instruction* instr) const; | 8375 void DeepCopyTo(Isolate* isolate, Instruction* instr) const; |
| 8376 void DeepCopyToOuter(Isolate* isolate, Instruction* instr) const; | 8376 void DeepCopyToOuter(Isolate* isolate, |
| 8377 Instruction* instr, |
| 8378 intptr_t input_count) const; |
| 8377 | 8379 |
| 8378 void PrintTo(BufferFormatter* f) const; | 8380 void PrintTo(BufferFormatter* f) const; |
| 8379 const char* ToCString() const; | 8381 const char* ToCString() const; |
| 8380 | 8382 |
| 8381 // Deep copy an environment. The 'length' parameter may be less than the | 8383 // Deep copy an environment. The 'length' parameter may be less than the |
| 8382 // environment's length in order to drop values (e.g., passed arguments) | 8384 // environment's length in order to drop values (e.g., passed arguments) |
| 8383 // from the copy. | 8385 // from the copy. |
| 8384 Environment* DeepCopy(Isolate* isolate, intptr_t length) const; | 8386 Environment* DeepCopy(Isolate* isolate, intptr_t length) const; |
| 8385 | 8387 |
| 8386 private: | 8388 private: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8450 Isolate* isolate, bool opt) const { \ | 8452 Isolate* isolate, bool opt) const { \ |
| 8451 UNIMPLEMENTED(); \ | 8453 UNIMPLEMENTED(); \ |
| 8452 return NULL; \ | 8454 return NULL; \ |
| 8453 } \ | 8455 } \ |
| 8454 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8456 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8455 | 8457 |
| 8456 | 8458 |
| 8457 } // namespace dart | 8459 } // namespace dart |
| 8458 | 8460 |
| 8459 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8461 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |