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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 bool is_aborted() const { return status_ == ABORTED; } | 184 bool is_aborted() const { return status_ == ABORTED; } |
185 | 185 |
186 StrictModeFlag strict_mode_flag() const { | 186 StrictModeFlag strict_mode_flag() const { |
187 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 187 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
188 } | 188 } |
189 | 189 |
190 LPlatformChunk* chunk() const { return chunk_; } | 190 LPlatformChunk* chunk() const { return chunk_; } |
191 Scope* scope() const { return scope_; } | 191 Scope* scope() const { return scope_; } |
192 HGraph* graph() const { return chunk_->graph(); } | 192 HGraph* graph() const { return chunk_->graph(); } |
193 | 193 |
194 int GetNextEmittedBlock(int block); | 194 int GetNextEmittedBlock(); |
195 | 195 |
196 void EmitClassOfTest(Label* if_true, | 196 void EmitClassOfTest(Label* if_true, |
197 Label* if_false, | 197 Label* if_false, |
198 Handle<String> class_name, | 198 Handle<String> class_name, |
199 Register input, | 199 Register input, |
200 Register temporary, | 200 Register temporary, |
201 Register temporary2); | 201 Register temporary2); |
202 | 202 |
203 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 203 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
204 | 204 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 LCodeGen* codegen_; | 479 LCodeGen* codegen_; |
480 Label entry_; | 480 Label entry_; |
481 Label exit_; | 481 Label exit_; |
482 Label* external_exit_; | 482 Label* external_exit_; |
483 int instruction_index_; | 483 int instruction_index_; |
484 }; | 484 }; |
485 | 485 |
486 } } // namespace v8::internal | 486 } } // namespace v8::internal |
487 | 487 |
488 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 488 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |