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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 Condition EmitIsObject(Register input, | 277 Condition EmitIsObject(Register input, |
278 Register temp1, | 278 Register temp1, |
279 Register temp2, | 279 Register temp2, |
280 Label* is_not_object, | 280 Label* is_not_object, |
281 Label* is_object); | 281 Label* is_object); |
282 | 282 |
283 // Emits optimized code for %_IsConstructCall(). | 283 // Emits optimized code for %_IsConstructCall(). |
284 // Caller should branch on equal condition. | 284 // Caller should branch on equal condition. |
285 void EmitIsConstructCall(Register temp1, Register temp2); | 285 void EmitIsConstructCall(Register temp1, Register temp2); |
286 | 286 |
287 void EmitLoadField(Register result, | 287 void EmitLoadFieldOrConstantFunction(Register result, |
288 Register object, | 288 Register object, |
289 Handle<Map> type, | 289 Handle<Map> type, |
290 Handle<String> name); | 290 Handle<String> name); |
291 | 291 |
292 LChunk* const chunk_; | 292 LChunk* const chunk_; |
293 MacroAssembler* const masm_; | 293 MacroAssembler* const masm_; |
294 CompilationInfo* const info_; | 294 CompilationInfo* const info_; |
295 | 295 |
296 int current_block_; | 296 int current_block_; |
297 int current_instruction_; | 297 int current_instruction_; |
298 const ZoneList<LInstruction*>* instructions_; | 298 const ZoneList<LInstruction*>* instructions_; |
299 ZoneList<LEnvironment*> deoptimizations_; | 299 ZoneList<LEnvironment*> deoptimizations_; |
300 ZoneList<Handle<Object> > deoptimization_literals_; | 300 ZoneList<Handle<Object> > deoptimization_literals_; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 private: | 382 private: |
383 LCodeGen* codegen_; | 383 LCodeGen* codegen_; |
384 Label entry_; | 384 Label entry_; |
385 Label exit_; | 385 Label exit_; |
386 Label* external_exit_; | 386 Label* external_exit_; |
387 }; | 387 }; |
388 | 388 |
389 } } // namespace v8::internal | 389 } } // namespace v8::internal |
390 | 390 |
391 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 391 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |