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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // The isolate parameter can be NULL if the macro assembler should | 85 // The isolate parameter can be NULL if the macro assembler should |
86 // not use isolate-dependent functionality. In this case, it's the | 86 // not use isolate-dependent functionality. In this case, it's the |
87 // responsibility of the caller to never invoke such function on the | 87 // responsibility of the caller to never invoke such function on the |
88 // macro assembler. | 88 // macro assembler. |
89 MacroAssembler(Isolate* isolate, void* buffer, int size); | 89 MacroAssembler(Isolate* isolate, void* buffer, int size); |
90 | 90 |
91 // Jump, Call, and Ret pseudo instructions implementing inter-working. | 91 // Jump, Call, and Ret pseudo instructions implementing inter-working. |
92 void Jump(Register target, Condition cond = al); | 92 void Jump(Register target, Condition cond = al); |
93 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); | 93 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); |
94 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); | 94 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
95 int CallSize(Register target, Condition cond = al); | 95 static int CallSize(Register target, Condition cond = al); |
96 void Call(Register target, Condition cond = al); | 96 void Call(Register target, Condition cond = al); |
97 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al); | 97 static int CallSize(Address target, |
| 98 RelocInfo::Mode rmode, |
| 99 Condition cond = al); |
98 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al); | 100 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al); |
99 int CallSize(Handle<Code> code, | 101 static int CallSize(Handle<Code> code, |
100 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 102 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
101 unsigned ast_id = kNoASTId, | 103 unsigned ast_id = kNoASTId, |
102 Condition cond = al); | 104 Condition cond = al); |
103 void Call(Handle<Code> code, | 105 void Call(Handle<Code> code, |
104 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 106 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
105 unsigned ast_id = kNoASTId, | 107 unsigned ast_id = kNoASTId, |
106 Condition cond = al); | 108 Condition cond = al); |
107 void Ret(Condition cond = al); | 109 void Ret(Condition cond = al); |
108 | 110 |
109 // Emit code to discard a non-negative number of pointer-sized elements | 111 // Emit code to discard a non-negative number of pointer-sized elements |
110 // from the stack, clobbering only the sp register. | 112 // from the stack, clobbering only the sp register. |
111 void Drop(int count, Condition cond = al); | 113 void Drop(int count, Condition cond = al); |
112 | 114 |
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1137 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1138 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1137 #else | 1139 #else |
1138 #define ACCESS_MASM(masm) masm-> | 1140 #define ACCESS_MASM(masm) masm-> |
1139 #endif | 1141 #endif |
1140 | 1142 |
1141 | 1143 |
1142 } } // namespace v8::internal | 1144 } } // namespace v8::internal |
1143 | 1145 |
1144 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1146 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |