diff options
Diffstat (limited to 'deps/v8/src/snapshot/embedded/embedded-file-writer.cc')
-rw-r--r-- | deps/v8/src/snapshot/embedded/embedded-file-writer.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/deps/v8/src/snapshot/embedded/embedded-file-writer.cc b/deps/v8/src/snapshot/embedded/embedded-file-writer.cc index b472841cc6..6bf5f84088 100644 --- a/deps/v8/src/snapshot/embedded/embedded-file-writer.cc +++ b/deps/v8/src/snapshot/embedded/embedded-file-writer.cc @@ -78,10 +78,9 @@ void EmbeddedFileWriter::WriteBuiltin(PlatformEmbeddedFileWriterBase* w, CHECK(positions.done()); // Release builds must not contain debug infos. #endif - // Some builtins (ArgumentsAdaptorTrampoline and JSConstructStubGeneric) have - // entry points located in the middle of them, we need to store their - // addresses since they are part of the list of allowed return addresses in - // the deoptimizer. + // Some builtins (JSConstructStubGeneric) have entry points located in the + // middle of them, we need to store their addresses since they are part of + // the list of allowed return addresses in the deoptimizer. const std::vector<LabelInfo>& current_labels = label_info_[builtin_id]; auto label = current_labels.begin(); @@ -297,14 +296,12 @@ void EmbeddedFileWriter::PrepareBuiltinSourcePositionMap(Builtins* builtins) { } } -void EmbeddedFileWriter::PrepareBuiltinLabelInfoMap( - int create_offset, int invoke_offset, int arguments_adaptor_offset) { +void EmbeddedFileWriter::PrepareBuiltinLabelInfoMap(int create_offset, + int invoke_offset) { label_info_[Builtins::kJSConstructStubGeneric].push_back( {create_offset, "construct_stub_create_deopt_addr"}); label_info_[Builtins::kJSConstructStubGeneric].push_back( {invoke_offset, "construct_stub_invoke_deopt_addr"}); - label_info_[Builtins::kArgumentsAdaptorTrampoline].push_back( - {arguments_adaptor_offset, "arguments_adaptor_deopt_addr"}); } } // namespace internal |