diff options
author | Michaël Zasso <targos@protonmail.com> | 2022-04-12 11:10:15 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2022-04-12 22:08:39 +0200 |
commit | fd4f80ce54d7f7b7503e0999f6a9d293d493846d (patch) | |
tree | 00fba34b8aabeb481c7128fccee635719ee44a3b /deps/v8/src/codegen/turbo-assembler.cc | |
parent | 73d53fe9f56d7ce5de4b9c9ad5257dc601bbce14 (diff) | |
download | node-new-fd4f80ce54d7f7b7503e0999f6a9d293d493846d.tar.gz |
deps: update V8 to 10.1.124.6
PR-URL: https://github.com/nodejs/node/pull/42657
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'deps/v8/src/codegen/turbo-assembler.cc')
-rw-r--r-- | deps/v8/src/codegen/turbo-assembler.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/deps/v8/src/codegen/turbo-assembler.cc b/deps/v8/src/codegen/turbo-assembler.cc index e1546f71ca..24a237c16a 100644 --- a/deps/v8/src/codegen/turbo-assembler.cc +++ b/deps/v8/src/codegen/turbo-assembler.cc @@ -7,6 +7,7 @@ #include "src/builtins/builtins.h" #include "src/builtins/constants-table-builder.h" #include "src/codegen/external-reference-encoder.h" +#include "src/common/globals.h" #include "src/execution/isolate-data.h" #include "src/execution/isolate-inl.h" #include "src/snapshot/embedded/embedded-data.h" @@ -50,12 +51,6 @@ void TurboAssemblerBase::IndirectLoadConstant(Register destination, if (isolate()->roots_table().IsRootHandle(object, &root_index)) { // Roots are loaded relative to the root register. LoadRoot(destination, root_index); - } else if (V8_EXTERNAL_CODE_SPACE_BOOL && - isolate()->builtins()->IsBuiltinCodeDataContainerHandle( - object, &builtin)) { - // Similar to roots, builtins may be loaded from the builtins table. - LoadRootRelative(destination, - RootRegisterOffsetForBuiltinCodeDataContainer(builtin)); } else if (isolate()->builtins()->IsBuiltinHandle(object, &builtin)) { // Similar to roots, builtins may be loaded from the builtins table. LoadRootRelative(destination, RootRegisterOffsetForBuiltin(builtin)); @@ -107,12 +102,6 @@ int32_t TurboAssemblerBase::RootRegisterOffsetForBuiltin(Builtin builtin) { } // static -int32_t TurboAssemblerBase::RootRegisterOffsetForBuiltinCodeDataContainer( - Builtin builtin) { - return IsolateData::BuiltinCodeDataContainerSlotOffset(builtin); -} - -// static intptr_t TurboAssemblerBase::RootRegisterOffsetForExternalReference( Isolate* isolate, const ExternalReference& reference) { return static_cast<intptr_t>(reference.address() - isolate->isolate_root()); |