diff options
Diffstat (limited to 'deps/v8/src/torque/global-context.cc')
-rw-r--r-- | deps/v8/src/torque/global-context.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/src/torque/global-context.cc b/deps/v8/src/torque/global-context.cc index e236de5a93e..35ddb1d2e26 100644 --- a/deps/v8/src/torque/global-context.cc +++ b/deps/v8/src/torque/global-context.cc @@ -24,7 +24,12 @@ GlobalContext::GlobalContext(Ast ast) TargetArchitecture::TargetArchitecture(bool force_32bit) : tagged_size_(force_32bit ? sizeof(int32_t) : kTaggedSize), - raw_ptr_size_(force_32bit ? sizeof(int32_t) : kSystemPointerSize) {} + raw_ptr_size_(force_32bit ? sizeof(int32_t) : kSystemPointerSize), + smi_tag_and_shift_size_( + kSmiTagSize + (force_32bit ? SmiTagging<kApiInt32Size>::kSmiShiftSize + : kSmiShiftSize)), + external_ptr_size_(force_32bit ? sizeof(int32_t) : kExternalPointerSize) { +} } // namespace torque } // namespace internal |