OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 bool is_generating() const { return status_ == GENERATING; } | 123 bool is_generating() const { return status_ == GENERATING; } |
124 bool is_done() const { return status_ == DONE; } | 124 bool is_done() const { return status_ == DONE; } |
125 bool is_aborted() const { return status_ == ABORTED; } | 125 bool is_aborted() const { return status_ == ABORTED; } |
126 | 126 |
127 LChunk* chunk() const { return chunk_; } | 127 LChunk* chunk() const { return chunk_; } |
128 Scope* scope() const { return scope_; } | 128 Scope* scope() const { return scope_; } |
129 HGraph* graph() const { return chunk_->graph(); } | 129 HGraph* graph() const { return chunk_->graph(); } |
130 MacroAssembler* masm() const { return masm_; } | 130 MacroAssembler* masm() const { return masm_; } |
131 | 131 |
132 Register scratch0() { return r9; } | 132 Register scratch0() { return r9; } |
133 SwVfpRegister single_scratch0() { return s0; } | 133 DwVfpRegister double_scratch0() { return d0; } |
134 SwVfpRegister single_scratch1() { return s1; } | |
135 DwVfpRegister double_scratch0() { return d1; } | |
136 | 134 |
137 int GetNextEmittedBlock(int block); | 135 int GetNextEmittedBlock(int block); |
138 LInstruction* GetNextInstruction(); | 136 LInstruction* GetNextInstruction(); |
139 | 137 |
140 void EmitClassOfTest(Label* if_true, | 138 void EmitClassOfTest(Label* if_true, |
141 Label* if_false, | 139 Label* if_false, |
142 Handle<String> class_name, | 140 Handle<String> class_name, |
143 Register input, | 141 Register input, |
144 Register temporary, | 142 Register temporary, |
145 Register temporary2); | 143 Register temporary2); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 private: | 300 private: |
303 LCodeGen* codegen_; | 301 LCodeGen* codegen_; |
304 Label entry_; | 302 Label entry_; |
305 Label exit_; | 303 Label exit_; |
306 Label* external_exit_; | 304 Label* external_exit_; |
307 }; | 305 }; |
308 | 306 |
309 } } // namespace v8::internal | 307 } } // namespace v8::internal |
310 | 308 |
311 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 309 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |