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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 Condition EmitIsObject(Register input, | 271 Condition EmitIsObject(Register input, |
272 Register temp1, | 272 Register temp1, |
273 Register temp2, | 273 Register temp2, |
274 Label* is_not_object, | 274 Label* is_not_object, |
275 Label* is_object); | 275 Label* is_object); |
276 | 276 |
277 // Emits optimized code for %_IsConstructCall(). | 277 // Emits optimized code for %_IsConstructCall(). |
278 // Caller should branch on equal condition. | 278 // Caller should branch on equal condition. |
279 void EmitIsConstructCall(Register temp); | 279 void EmitIsConstructCall(Register temp); |
280 | 280 |
281 void EmitLoadField(Register result, | 281 void EmitLoadFieldOrConstantFunction(Register result, |
282 Register object, | 282 Register object, |
283 Handle<Map> type, | 283 Handle<Map> type, |
284 Handle<String> name); | 284 Handle<String> name); |
285 | 285 |
286 LChunk* const chunk_; | 286 LChunk* const chunk_; |
287 MacroAssembler* const masm_; | 287 MacroAssembler* const masm_; |
288 CompilationInfo* const info_; | 288 CompilationInfo* const info_; |
289 | 289 |
290 int current_block_; | 290 int current_block_; |
291 int current_instruction_; | 291 int current_instruction_; |
292 const ZoneList<LInstruction*>* instructions_; | 292 const ZoneList<LInstruction*>* instructions_; |
293 ZoneList<LEnvironment*> deoptimizations_; | 293 ZoneList<LEnvironment*> deoptimizations_; |
294 ZoneList<Handle<Object> > deoptimization_literals_; | 294 ZoneList<Handle<Object> > deoptimization_literals_; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 private: | 362 private: |
363 LCodeGen* codegen_; | 363 LCodeGen* codegen_; |
364 Label entry_; | 364 Label entry_; |
365 Label exit_; | 365 Label exit_; |
366 Label* external_exit_; | 366 Label* external_exit_; |
367 }; | 367 }; |
368 | 368 |
369 } } // namespace v8::internal | 369 } } // namespace v8::internal |
370 | 370 |
371 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 371 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |