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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 // Machine instruction Operands | 391 // Machine instruction Operands |
392 | 392 |
393 // Class Operand represents a shifter operand in data processing instructions | 393 // Class Operand represents a shifter operand in data processing instructions |
394 class Operand BASE_EMBEDDED { | 394 class Operand BASE_EMBEDDED { |
395 public: | 395 public: |
396 // immediate | 396 // immediate |
397 INLINE(explicit Operand(int32_t immediate, | 397 INLINE(explicit Operand(int32_t immediate, |
398 RelocInfo::Mode rmode = RelocInfo::NONE)); | 398 RelocInfo::Mode rmode = RelocInfo::NONE)); |
399 INLINE(explicit Operand(const ExternalReference& f)); | 399 INLINE(explicit Operand(const ExternalReference& f)); |
400 INLINE(explicit Operand(const char* s)); | 400 INLINE(explicit Operand(const char* s)); |
401 INLINE(explicit Operand(Object** opp)); | |
402 INLINE(explicit Operand(Context** cpp)); | |
403 explicit Operand(Handle<Object> handle); | 401 explicit Operand(Handle<Object> handle); |
404 INLINE(explicit Operand(Smi* value)); | 402 INLINE(explicit Operand(Smi* value)); |
405 | 403 |
406 // rm | 404 // rm |
407 INLINE(explicit Operand(Register rm)); | 405 INLINE(explicit Operand(Register rm)); |
408 | 406 |
409 // rm <shift_op> shift_imm | 407 // rm <shift_op> shift_imm |
410 explicit Operand(Register rm, ShiftOp shift_op, int shift_imm); | 408 explicit Operand(Register rm, ShiftOp shift_op, int shift_imm); |
411 | 409 |
412 // rm <shift_op> rs | 410 // rm <shift_op> rs |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 1024 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
1027 | 1025 |
1028 friend class RegExpMacroAssemblerARM; | 1026 friend class RegExpMacroAssemblerARM; |
1029 friend class RelocInfo; | 1027 friend class RelocInfo; |
1030 friend class CodePatcher; | 1028 friend class CodePatcher; |
1031 }; | 1029 }; |
1032 | 1030 |
1033 } } // namespace v8::internal | 1031 } } // namespace v8::internal |
1034 | 1032 |
1035 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1033 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |