OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 Operand::Operand(const ExternalReference& f) { | 337 Operand::Operand(const ExternalReference& f) { |
338 rm_ = no_reg; | 338 rm_ = no_reg; |
339 imm32_ = reinterpret_cast<int32_t>(f.address()); | 339 imm32_ = reinterpret_cast<int32_t>(f.address()); |
340 rmode_ = RelocInfo::EXTERNAL_REFERENCE; | 340 rmode_ = RelocInfo::EXTERNAL_REFERENCE; |
341 } | 341 } |
342 | 342 |
343 | 343 |
344 Operand::Operand(Smi* value) { | 344 Operand::Operand(Smi* value) { |
345 rm_ = no_reg; | 345 rm_ = no_reg; |
346 imm32_ = reinterpret_cast<intptr_t>(value); | 346 imm32_ = reinterpret_cast<intptr_t>(value); |
347 rmode_ = RelocInfo::NONE; | 347 rmode_ = RelocInfo::NONE32; |
348 } | 348 } |
349 | 349 |
350 | 350 |
351 Operand::Operand(Register rm) { | 351 Operand::Operand(Register rm) { |
352 rm_ = rm; | 352 rm_ = rm; |
353 rs_ = no_reg; | 353 rs_ = no_reg; |
354 shift_op_ = LSL; | 354 shift_op_ = LSL; |
355 shift_imm_ = 0; | 355 shift_imm_ = 0; |
356 } | 356 } |
357 | 357 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 | 526 |
527 | 527 |
528 void Assembler::set_target_address_at(Address pc, Address target) { | 528 void Assembler::set_target_address_at(Address pc, Address target) { |
529 set_target_pointer_at(pc, target); | 529 set_target_pointer_at(pc, target); |
530 } | 530 } |
531 | 531 |
532 | 532 |
533 } } // namespace v8::internal | 533 } } // namespace v8::internal |
534 | 534 |
535 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ | 535 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ |
OLD | NEW |