[vm] Rearrange some members of Thread to keep offsets within RISC-V I-type range.
TEST=ci Cq-Include-Trybots: luci.dart.try:vm-linux-debug-simriscv32-try,vm-linux-debug-simriscv64-try,vm-aot-linux-debug-simriscv32-try,vm-aot-linux-debug-simriscv64-try Change-Id: Ifbdb22a4454b7a6fefa44a62e4f69ea36adb1e1d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442563 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
committed by
Commit Queue
parent
3d57ef4fb6
commit
5ef1c080be
File diff suppressed because it is too large
Load Diff
@@ -243,11 +243,8 @@
|
||||
FIELD(Thread, allocate_mint_without_fpu_regs_entry_point_offset) \
|
||||
FIELD(Thread, allocate_mint_without_fpu_regs_stub_offset) \
|
||||
FIELD(Thread, allocate_object_entry_point_offset) \
|
||||
FIELD(Thread, allocate_object_stub_offset) \
|
||||
FIELD(Thread, allocate_object_parameterized_entry_point_offset) \
|
||||
FIELD(Thread, allocate_object_parameterized_stub_offset) \
|
||||
FIELD(Thread, allocate_object_slow_entry_point_offset) \
|
||||
FIELD(Thread, allocate_object_slow_stub_offset) \
|
||||
FIELD(Thread, api_top_scope_offset) \
|
||||
FIELD(Thread, async_exception_handler_stub_offset) \
|
||||
FIELD(Thread, auto_scope_native_wrapper_entry_point_offset) \
|
||||
|
||||
+5
-9
@@ -150,11 +150,6 @@ class Thread;
|
||||
StubCode::AllocateMintSharedWithFPURegs().ptr(), nullptr) \
|
||||
V(CodePtr, allocate_mint_without_fpu_regs_stub_, \
|
||||
StubCode::AllocateMintSharedWithoutFPURegs().ptr(), nullptr) \
|
||||
V(CodePtr, allocate_object_stub_, StubCode::AllocateObject().ptr(), nullptr) \
|
||||
V(CodePtr, allocate_object_parameterized_stub_, \
|
||||
StubCode::AllocateObjectParameterized().ptr(), nullptr) \
|
||||
V(CodePtr, allocate_object_slow_stub_, StubCode::AllocateObjectSlow().ptr(), \
|
||||
nullptr) \
|
||||
V(CodePtr, async_exception_handler_stub_, \
|
||||
StubCode::AsyncExceptionHandler().ptr(), nullptr) \
|
||||
V(CodePtr, resume_stub_, StubCode::Resume().ptr(), nullptr) \
|
||||
@@ -1404,10 +1399,6 @@ class Thread : public ThreadState {
|
||||
RUNTIME_ENTRY_LIST(DECLARE_MEMBERS)
|
||||
#undef DECLARE_MEMBERS
|
||||
|
||||
#define DECLARE_MEMBERS(returntype, name, ...) uword name##_entry_point_;
|
||||
LEAF_RUNTIME_ENTRY_LIST(DECLARE_MEMBERS)
|
||||
#undef DECLARE_MEMBERS
|
||||
|
||||
uword write_barrier_wrappers_entry_points_[kNumberOfDartAvailableCpuRegs];
|
||||
|
||||
#define DECLARE_MEMBERS(name) uword name##_entry_point_ = 0;
|
||||
@@ -1489,6 +1480,11 @@ class Thread : public ThreadState {
|
||||
*/
|
||||
std::atomic<uword> safepoint_state_;
|
||||
uword exit_through_ffi_ = 0;
|
||||
|
||||
#define DECLARE_MEMBERS(returntype, name, ...) uword name##_entry_point_;
|
||||
LEAF_RUNTIME_ENTRY_LIST(DECLARE_MEMBERS)
|
||||
#undef DECLARE_MEMBERS
|
||||
|
||||
ApiLocalScope* api_top_scope_;
|
||||
uint8_t double_truncate_round_supported_;
|
||||
ALIGN8 int64_t next_task_id_;
|
||||
|
||||
Reference in New Issue
Block a user