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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 bool is_aborted() const { return status_ == ABORTED; } | 201 bool is_aborted() const { return status_ == ABORTED; } |
202 | 202 |
203 StrictModeFlag strict_mode_flag() const { | 203 StrictModeFlag strict_mode_flag() const { |
204 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 204 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
205 } | 205 } |
206 | 206 |
207 LPlatformChunk* chunk() const { return chunk_; } | 207 LPlatformChunk* chunk() const { return chunk_; } |
208 Scope* scope() const { return scope_; } | 208 Scope* scope() const { return scope_; } |
209 HGraph* graph() const { return chunk()->graph(); } | 209 HGraph* graph() const { return chunk()->graph(); } |
210 | 210 |
| 211 XMMRegister double_scratch0() const { return xmm0; } |
| 212 |
211 int GetNextEmittedBlock() const; | 213 int GetNextEmittedBlock() const; |
212 | 214 |
213 void EmitClassOfTest(Label* if_true, | 215 void EmitClassOfTest(Label* if_true, |
214 Label* if_false, | 216 Label* if_false, |
215 Handle<String> class_name, | 217 Handle<String> class_name, |
216 Register input, | 218 Register input, |
217 Register temporary, | 219 Register temporary, |
218 Register temporary2); | 220 Register temporary2); |
219 | 221 |
220 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 222 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 Label exit_; | 567 Label exit_; |
566 Label* external_exit_; | 568 Label* external_exit_; |
567 Label done_; | 569 Label done_; |
568 int instruction_index_; | 570 int instruction_index_; |
569 LCodeGen::X87Stack x87_stack_; | 571 LCodeGen::X87Stack x87_stack_; |
570 }; | 572 }; |
571 | 573 |
572 } } // namespace v8::internal | 574 } } // namespace v8::internal |
573 | 575 |
574 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 576 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |