OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "assembler.h" | 8 #include "assembler.h" |
9 #include "frames.h" | 9 #include "frames.h" |
10 #include "v8globals.h" | 10 #include "v8globals.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // Jump, Call, and Ret pseudo instructions implementing inter-working. | 75 // Jump, Call, and Ret pseudo instructions implementing inter-working. |
76 void Jump(Register target, Condition cond = al); | 76 void Jump(Register target, Condition cond = al); |
77 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); | 77 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); |
78 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); | 78 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
79 static int CallSize(Register target, Condition cond = al); | 79 static int CallSize(Register target, Condition cond = al); |
80 void Call(Register target, Condition cond = al); | 80 void Call(Register target, Condition cond = al); |
81 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al); | 81 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al); |
82 int CallStubSize(CodeStub* stub, | 82 int CallStubSize(CodeStub* stub, |
83 TypeFeedbackId ast_id = TypeFeedbackId::None(), | 83 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
84 Condition cond = al); | 84 Condition cond = al); |
85 static int CallSizeNotPredictableCodeSize(Address target, | 85 static int CallSizeNotPredictableCodeSize(Isolate* isolate, |
| 86 Address target, |
86 RelocInfo::Mode rmode, | 87 RelocInfo::Mode rmode, |
87 Condition cond = al); | 88 Condition cond = al); |
88 void Call(Address target, RelocInfo::Mode rmode, | 89 void Call(Address target, RelocInfo::Mode rmode, |
89 Condition cond = al, | 90 Condition cond = al, |
90 TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); | 91 TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); |
91 int CallSize(Handle<Code> code, | 92 int CallSize(Handle<Code> code, |
92 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 93 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
93 TypeFeedbackId ast_id = TypeFeedbackId::None(), | 94 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
94 Condition cond = al); | 95 Condition cond = al); |
95 void Call(Handle<Code> code, | 96 void Call(Handle<Code> code, |
(...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1579 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1580 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1580 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1581 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1581 #else | 1582 #else |
1582 #define ACCESS_MASM(masm) masm-> | 1583 #define ACCESS_MASM(masm) masm-> |
1583 #endif | 1584 #endif |
1584 | 1585 |
1585 | 1586 |
1586 } } // namespace v8::internal | 1587 } } // namespace v8::internal |
1587 | 1588 |
1588 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1589 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |