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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 bool is_aborted() const { return status_ == ABORTED; } | 155 bool is_aborted() const { return status_ == ABORTED; } |
156 | 156 |
157 StrictModeFlag strict_mode_flag() const { | 157 StrictModeFlag strict_mode_flag() const { |
158 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 158 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
159 } | 159 } |
160 | 160 |
161 LPlatformChunk* chunk() const { return chunk_; } | 161 LPlatformChunk* chunk() const { return chunk_; } |
162 Scope* scope() const { return scope_; } | 162 Scope* scope() const { return scope_; } |
163 HGraph* graph() const { return chunk_->graph(); } | 163 HGraph* graph() const { return chunk_->graph(); } |
164 | 164 |
165 int GetNextEmittedBlock(int block); | 165 int GetNextEmittedBlock(); |
166 | 166 |
167 void EmitClassOfTest(Label* if_true, | 167 void EmitClassOfTest(Label* if_true, |
168 Label* if_false, | 168 Label* if_false, |
169 Handle<String> class_name, | 169 Handle<String> class_name, |
170 Register input, | 170 Register input, |
171 Register temporary, | 171 Register temporary, |
172 Register scratch); | 172 Register scratch); |
173 | 173 |
174 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 174 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
175 | 175 |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 LCodeGen* codegen_; | 432 LCodeGen* codegen_; |
433 Label entry_; | 433 Label entry_; |
434 Label exit_; | 434 Label exit_; |
435 Label* external_exit_; | 435 Label* external_exit_; |
436 int instruction_index_; | 436 int instruction_index_; |
437 }; | 437 }; |
438 | 438 |
439 } } // namespace v8::internal | 439 } } // namespace v8::internal |
440 | 440 |
441 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 441 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |