OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // macro assembler. | 95 // macro assembler. |
96 MacroAssembler(Isolate* isolate, void* buffer, int size); | 96 MacroAssembler(Isolate* isolate, void* buffer, int size); |
97 | 97 |
98 // Jump, Call, and Ret pseudo instructions implementing inter-working. | 98 // Jump, Call, and Ret pseudo instructions implementing inter-working. |
99 void Jump(Register target, Condition cond = al); | 99 void Jump(Register target, Condition cond = al); |
100 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); | 100 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); |
101 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); | 101 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
102 static int CallSize(Register target, Condition cond = al); | 102 static int CallSize(Register target, Condition cond = al); |
103 void Call(Register target, Condition cond = al); | 103 void Call(Register target, Condition cond = al); |
104 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al); | 104 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al); |
| 105 int CallStubSize(CodeStub* stub, |
| 106 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
| 107 Condition cond = al); |
105 static int CallSizeNotPredictableCodeSize(Address target, | 108 static int CallSizeNotPredictableCodeSize(Address target, |
106 RelocInfo::Mode rmode, | 109 RelocInfo::Mode rmode, |
107 Condition cond = al); | 110 Condition cond = al); |
108 void Call(Address target, RelocInfo::Mode rmode, | 111 void Call(Address target, RelocInfo::Mode rmode, |
109 Condition cond = al, | 112 Condition cond = al, |
110 TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); | 113 TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); |
111 int CallSize(Handle<Code> code, | 114 int CallSize(Handle<Code> code, |
112 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 115 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
113 TypeFeedbackId ast_id = TypeFeedbackId::None(), | 116 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
114 Condition cond = al); | 117 Condition cond = al); |
(...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1601 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1604 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1602 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1605 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1603 #else | 1606 #else |
1604 #define ACCESS_MASM(masm) masm-> | 1607 #define ACCESS_MASM(masm) masm-> |
1605 #endif | 1608 #endif |
1606 | 1609 |
1607 | 1610 |
1608 } } // namespace v8::internal | 1611 } } // namespace v8::internal |
1609 | 1612 |
1610 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1613 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |