diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-05-05 09:19:02 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-05-12 16:12:13 +0200 |
commit | 1d6adf7432defeb39b751a19c68335e8afb0d8ee (patch) | |
tree | 7ab67931110b8d9db770d774c7a6d0d14c976c15 /deps/v8/src/objects/js-objects-inl.h | |
parent | aee36a04475a20c13663d1037aa6f175ff368bc7 (diff) | |
download | node-new-1d6adf7432defeb39b751a19c68335e8afb0d8ee.tar.gz |
deps: update V8 to 8.3.110.9
PR-URL: https://github.com/nodejs/node/pull/32831
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/objects/js-objects-inl.h')
-rw-r--r-- | deps/v8/src/objects/js-objects-inl.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/deps/v8/src/objects/js-objects-inl.h b/deps/v8/src/objects/js-objects-inl.h index 849aae4dc9..dd5ac09904 100644 --- a/deps/v8/src/objects/js-objects-inl.h +++ b/deps/v8/src/objects/js-objects-inl.h @@ -7,6 +7,7 @@ #include "src/objects/js-objects.h" +#include "src/diagnostics/code-tracer.h" #include "src/heap/heap-write-barrier.h" #include "src/objects/elements.h" #include "src/objects/embedder-data-slot-inl.h" @@ -573,10 +574,12 @@ void JSFunction::set_shared(SharedFunctionInfo value, WriteBarrierMode mode) { void JSFunction::ClearOptimizedCodeSlot(const char* reason) { if (has_feedback_vector() && feedback_vector().has_optimized_code()) { if (FLAG_trace_opt) { - PrintF("[evicting entry from optimizing code feedback slot (%s) for ", + CodeTracer::Scope scope(GetIsolate()->GetCodeTracer()); + PrintF(scope.file(), + "[evicting entry from optimizing code feedback slot (%s) for ", reason); - ShortPrint(); - PrintF("]\n"); + ShortPrint(scope.file()); + PrintF(scope.file(), "]\n"); } feedback_vector().ClearOptimizedCode(); } @@ -1023,8 +1026,6 @@ inline int JSGlobalProxy::SizeWithEmbedderFields(int embedder_field_count) { ACCESSORS(JSIteratorResult, value, Object, kValueOffset) ACCESSORS(JSIteratorResult, done, Object, kDoneOffset) -TQ_SMI_ACCESSORS(JSStringIterator, index) - // If the fast-case backing storage takes up much more memory than a dictionary // backing storage would, the object should have slow elements. // static |