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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 StrictModeFlag strict_mode_flag() const { | 193 StrictModeFlag strict_mode_flag() const { |
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 LowDwVfpRegister double_scratch0() { return kScratchDoubleReg; } |
203 | 203 |
204 int GetNextEmittedBlock() const; | 204 int GetNextEmittedBlock() const; |
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); |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 LCodeGen* codegen_; | 490 LCodeGen* codegen_; |
491 Label entry_; | 491 Label entry_; |
492 Label exit_; | 492 Label exit_; |
493 Label* external_exit_; | 493 Label* external_exit_; |
494 int instruction_index_; | 494 int instruction_index_; |
495 }; | 495 }; |
496 | 496 |
497 } } // namespace v8::internal | 497 } } // namespace v8::internal |
498 | 498 |
499 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 499 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |