| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_FLOW_GRAPH_COMPILER_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 FpuRegister left, | 370 FpuRegister left, |
| 371 FpuRegister right, | 371 FpuRegister right, |
| 372 BranchInstr* branch); | 372 BranchInstr* branch); |
| 373 void EmitDoubleCompareBool(Condition true_condition, | 373 void EmitDoubleCompareBool(Condition true_condition, |
| 374 FpuRegister left, | 374 FpuRegister left, |
| 375 FpuRegister right, | 375 FpuRegister right, |
| 376 Register result); | 376 Register result); |
| 377 | 377 |
| 378 void EmitEqualityRegConstCompare(Register reg, | 378 void EmitEqualityRegConstCompare(Register reg, |
| 379 const Object& obj, | 379 const Object& obj, |
| 380 bool needs_number_check); | 380 bool needs_number_check, |
| 381 intptr_t token_pos); |
| 381 void EmitEqualityRegRegCompare(Register left, | 382 void EmitEqualityRegRegCompare(Register left, |
| 382 Register right, | 383 Register right, |
| 383 bool needs_number_check); | 384 bool needs_number_check, |
| 385 intptr_t token_pos); |
| 384 // Implement equality: if any of the arguments is null do identity check. | 386 // Implement equality: if any of the arguments is null do identity check. |
| 385 // Fallthrough calls super equality. | 387 // Fallthrough calls super equality. |
| 386 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call); | 388 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call); |
| 387 | 389 |
| 388 void EmitTrySync(Instruction* instr, intptr_t try_index); | 390 void EmitTrySync(Instruction* instr, intptr_t try_index); |
| 389 | 391 |
| 390 intptr_t StackSize() const; | 392 intptr_t StackSize() const; |
| 391 | 393 |
| 392 // Returns assembler label associated with the given block entry. | 394 // Returns assembler label associated with the given block entry. |
| 393 Label* GetJumpLabel(BlockEntryInstr* block_entry) const; | 395 Label* GetJumpLabel(BlockEntryInstr* block_entry) const; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 // that should be used when deoptimizing we store it in this variable. | 594 // that should be used when deoptimizing we store it in this variable. |
| 593 // In future AddDeoptStub should be moved out of the instruction template. | 595 // In future AddDeoptStub should be moved out of the instruction template. |
| 594 Environment* pending_deoptimization_env_; | 596 Environment* pending_deoptimization_env_; |
| 595 | 597 |
| 596 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 598 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 597 }; | 599 }; |
| 598 | 600 |
| 599 } // namespace dart | 601 } // namespace dart |
| 600 | 602 |
| 601 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 603 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |