Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index adbd1a5a373afc79d2de313b32e82543abb17487..2b02458a7abf1c85148e1fe1042b4fd47bfd98e2 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -553,14 +553,13 @@ TEST(LogVersion) { |
TEST(Issue539892) { |
class : public i::CodeEventLogger { |
public: |
- virtual void CodeMoveEvent(Address from, Address to) {} |
- virtual void CodeDeleteEvent(Address from) {} |
- virtual void CodeDisableOptEvent(i::Code* code, |
- i::SharedFunctionInfo* shared) {} |
+ void CodeMoveEvent(i::AbstractCode* from, Address to) override {} |
+ void CodeDisableOptEvent(i::AbstractCode* code, |
+ i::SharedFunctionInfo* shared) override {} |
private: |
- virtual void LogRecordedBuffer(i::Code* code, i::SharedFunctionInfo* shared, |
- const char* name, int length) {} |
+ void LogRecordedBuffer(i::AbstractCode* code, i::SharedFunctionInfo* shared, |
+ const char* name, int length) override {} |
} code_event_logger; |
SETUP_FLAGS(); |
v8::Isolate::CreateParams create_params; |