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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 StrictModeFlag strict_mode_flag() const { | 150 StrictModeFlag strict_mode_flag() const { |
151 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 151 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
152 } | 152 } |
153 | 153 |
154 LChunk* chunk() const { return chunk_; } | 154 LChunk* chunk() const { return chunk_; } |
155 Scope* scope() const { return scope_; } | 155 Scope* scope() const { return scope_; } |
156 HGraph* graph() const { return chunk_->graph(); } | 156 HGraph* graph() const { return chunk_->graph(); } |
157 | 157 |
158 Register scratch0() { return r9; } | 158 Register scratch0() { return r9; } |
159 DwVfpRegister double_scratch0() { return d15; } | 159 DwVfpRegister double_scratch0() { return kScratchDoubleReg; } |
160 | 160 |
161 int GetNextEmittedBlock(int block); | 161 int GetNextEmittedBlock(int block); |
162 LInstruction* GetNextInstruction(); | 162 LInstruction* GetNextInstruction(); |
163 | 163 |
164 void EmitClassOfTest(Label* if_true, | 164 void EmitClassOfTest(Label* if_true, |
165 Label* if_false, | 165 Label* if_false, |
166 Handle<String> class_name, | 166 Handle<String> class_name, |
167 Register input, | 167 Register input, |
168 Register temporary, | 168 Register temporary, |
169 Register temporary2); | 169 Register temporary2); |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 LCodeGen* codegen_; | 424 LCodeGen* codegen_; |
425 Label entry_; | 425 Label entry_; |
426 Label exit_; | 426 Label exit_; |
427 Label* external_exit_; | 427 Label* external_exit_; |
428 int instruction_index_; | 428 int instruction_index_; |
429 }; | 429 }; |
430 | 430 |
431 } } // namespace v8::internal | 431 } } // namespace v8::internal |
432 | 432 |
433 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 433 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |