aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/log.h
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2018-05-31 11:11:57 +0200
committerMyles Borins <mylesborins@google.com>2018-06-01 09:58:27 +0200
commit352a525eb984b8fa2d6f0f6fd68395e6a080bba4 (patch)
treea105ae93f8fd8f533cce19a429f1b6e95d6e11ca /deps/v8/src/log.h
parentfaf449ca0490f5371dc6cbbc94a87eb697b00fcc (diff)
downloadandroid-node-v8-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.tar.gz
android-node-v8-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.tar.bz2
android-node-v8-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.zip
deps: update V8 to 6.7.288.43
PR-URL: https://github.com/nodejs/node/pull/19989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/log.h')
-rw-r--r--deps/v8/src/log.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/deps/v8/src/log.h b/deps/v8/src/log.h
index b540c86173..6f3e1f244a 100644
--- a/deps/v8/src/log.h
+++ b/deps/v8/src/log.h
@@ -182,20 +182,19 @@ class Logger : public CodeEventListener {
AbstractCode* code, SharedFunctionInfo* shared,
Name* source, int line, int column);
void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag,
- wasm::WasmCode* code, wasm::WasmName name);
+ const wasm::WasmCode* code, wasm::WasmName name);
// Emits a code deoptimization event.
void CodeDisableOptEvent(AbstractCode* code, SharedFunctionInfo* shared);
void CodeMovingGCEvent();
// Emits a code create event for a RegExp.
void RegExpCodeCreateEvent(AbstractCode* code, String* source);
- void InstructionStreamCreateEvent(LogEventsAndTags tag,
- const InstructionStream* stream,
- const char* description);
// Emits a code move event.
void CodeMoveEvent(AbstractCode* from, Address to);
// Emits a code line info record event.
void CodeLinePosInfoRecordEvent(Address code_start,
ByteArray* source_position_table);
+ void CodeLinePosInfoRecordEvent(Address code_start,
+ Vector<const byte> source_position_table);
void SharedFunctionInfoMoveEvent(Address from, Address to);
@@ -268,9 +267,6 @@ class Logger : public CodeEventListener {
// Used for logging stubs found in the snapshot.
void LogCodeObject(Object* code_object);
- // Used for logging off-heap instruction streams.
- void LogInstructionStream(Code* code, const InstructionStream* stream);
-
private:
explicit Logger(Isolate* isolate);
~Logger();
@@ -393,13 +389,10 @@ class CodeEventLogger : public CodeEventListener {
void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
SharedFunctionInfo* shared, Name* source, int line,
int column) override;
- void CodeCreateEvent(LogEventsAndTags tag, wasm::WasmCode* code,
+ void CodeCreateEvent(LogEventsAndTags tag, const wasm::WasmCode* code,
wasm::WasmName name) override;
void RegExpCodeCreateEvent(AbstractCode* code, String* source) override;
- void InstructionStreamCreateEvent(LogEventsAndTags tag,
- const InstructionStream* stream,
- const char* description) override;
void CallbackEvent(Name* name, Address entry_point) override {}
void GetterCallbackEvent(Name* name, Address entry_point) override {}
void SetterCallbackEvent(Name* name, Address entry_point) override {}
@@ -413,9 +406,7 @@ class CodeEventLogger : public CodeEventListener {
virtual void LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo* shared,
const char* name, int length) = 0;
- virtual void LogRecordedBuffer(const InstructionStream* stream,
- const char* name, int length) = 0;
- virtual void LogRecordedBuffer(wasm::WasmCode* code, const char* name,
+ virtual void LogRecordedBuffer(const wasm::WasmCode* code, const char* name,
int length) = 0;
NameBuffer* name_buffer_;