OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 194 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
195 } | 195 } |
196 | 196 |
197 LPlatformChunk* chunk() const { return chunk_; } | 197 LPlatformChunk* chunk() const { return chunk_; } |
198 Scope* scope() const { return scope_; } | 198 Scope* scope() const { return scope_; } |
199 HGraph* graph() const { return chunk_->graph(); } | 199 HGraph* graph() const { return chunk_->graph(); } |
200 | 200 |
201 Register scratch0() { return r9; } | 201 Register scratch0() { return r9; } |
202 DwVfpRegister double_scratch0() { return kScratchDoubleReg; } | 202 DwVfpRegister double_scratch0() { return kScratchDoubleReg; } |
203 | 203 |
204 int GetNextEmittedBlock(int block); | 204 int GetNextEmittedBlock(); |
205 LInstruction* GetNextInstruction(); | 205 LInstruction* GetNextInstruction(); |
206 | 206 |
207 void EmitClassOfTest(Label* if_true, | 207 void EmitClassOfTest(Label* if_true, |
208 Label* if_false, | 208 Label* if_false, |
209 Handle<String> class_name, | 209 Handle<String> class_name, |
210 Register input, | 210 Register input, |
211 Register temporary, | 211 Register temporary, |
212 Register temporary2); | 212 Register temporary2); |
213 | 213 |
214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 LCodeGen* codegen_; | 500 LCodeGen* codegen_; |
501 Label entry_; | 501 Label entry_; |
502 Label exit_; | 502 Label exit_; |
503 Label* external_exit_; | 503 Label* external_exit_; |
504 int instruction_index_; | 504 int instruction_index_; |
505 }; | 505 }; |
506 | 506 |
507 } } // namespace v8::internal | 507 } } // namespace v8::internal |
508 | 508 |
509 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 509 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |