OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
237 // Caller should branch on equal condition. | 237 // Caller should branch on equal condition. |
238 void EmitIsConstructCall(Register temp); | 238 void EmitIsConstructCall(Register temp); |
239 | 239 |
240 // Emits code for pushing a constant operand. | 240 // Emits code for pushing a constant operand. |
241 void EmitPushConstantOperand(LOperand* operand); | 241 void EmitPushConstantOperand(LOperand* operand); |
242 | 242 |
243 struct JumpTableEntry { | 243 struct JumpTableEntry { |
244 inline JumpTableEntry(Address address) | 244 inline JumpTableEntry(Address address) |
245 : label_(), | 245 : label_(), |
246 address_(address) { } | 246 address_(address) { } |
247 Label label_; | 247 Label label_; |
Lasse Reichstein
2011/03/09 09:57:06
Kevin also reminded me that struct fields don't ne
| |
248 Address address_; | 248 Address address_; |
249 }; | 249 }; |
250 | 250 |
251 LChunk* const chunk_; | 251 LChunk* const chunk_; |
252 MacroAssembler* const masm_; | 252 MacroAssembler* const masm_; |
253 CompilationInfo* const info_; | 253 CompilationInfo* const info_; |
254 | 254 |
255 int current_block_; | 255 int current_block_; |
256 int current_instruction_; | 256 int current_instruction_; |
257 const ZoneList<LInstruction*>* instructions_; | 257 const ZoneList<LInstruction*>* instructions_; |
258 ZoneList<LEnvironment*> deoptimizations_; | 258 ZoneList<LEnvironment*> deoptimizations_; |
259 ZoneList<JumpTableEntry*> jump_table_; | 259 ZoneList<JumpTableEntry> jump_table_; |
260 ZoneList<Handle<Object> > deoptimization_literals_; | 260 ZoneList<Handle<Object> > deoptimization_literals_; |
261 int inlined_function_count_; | 261 int inlined_function_count_; |
262 Scope* const scope_; | 262 Scope* const scope_; |
263 Status status_; | 263 Status status_; |
264 TranslationBuffer translations_; | 264 TranslationBuffer translations_; |
265 ZoneList<LDeferredCode*> deferred_; | 265 ZoneList<LDeferredCode*> deferred_; |
266 int osr_pc_offset_; | 266 int osr_pc_offset_; |
267 | 267 |
268 // Builder that keeps track of safepoints in the code. The table | 268 // Builder that keeps track of safepoints in the code. The table |
269 // itself is emitted at the end of the generated code. | 269 // itself is emitted at the end of the generated code. |
(...skipping 30 matching lines...) Expand all Loading... | |
300 private: | 300 private: |
301 LCodeGen* codegen_; | 301 LCodeGen* codegen_; |
302 Label entry_; | 302 Label entry_; |
303 Label exit_; | 303 Label exit_; |
304 Label* external_exit_; | 304 Label* external_exit_; |
305 }; | 305 }; |
306 | 306 |
307 } } // namespace v8::internal | 307 } } // namespace v8::internal |
308 | 308 |
309 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 309 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |