| Index: test/cctest/test-log.cc
|
| diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc
|
| index 81cb001b136ca198b3d37964174c80d8f32626c5..8bcb5f7d2942d4ab865a9adc8695d8f29b6899ad 100644
|
| --- a/test/cctest/test-log.cc
|
| +++ b/test/cctest/test-log.cc
|
| @@ -27,6 +27,7 @@
|
| //
|
| // Tests of logging functions from log.h
|
|
|
| +#define V8_DISABLE_DEPRECATIONS 1
|
| #ifdef __linux__
|
| #include <pthread.h>
|
| #include <signal.h>
|
| @@ -43,6 +44,7 @@
|
| #include "v8utils.h"
|
| #include "cctest.h"
|
| #include "vm-state-inl.h"
|
| +#undef V8_DISABLE_DEPRECATIONS
|
|
|
| using v8::internal::Address;
|
| using v8::internal::EmbeddedVector;
|
| @@ -58,7 +60,6 @@ class ScopedLoggerInitializer {
|
| : saved_log_(i::FLAG_log),
|
| saved_prof_lazy_(i::FLAG_prof_lazy),
|
| saved_prof_(i::FLAG_prof),
|
| - saved_prof_auto_(i::FLAG_prof_auto),
|
| temp_file_(NULL),
|
| // Need to run this prior to creating the scope.
|
| trick_to_run_init_flags_(init_flags_(prof_lazy)),
|
| @@ -74,7 +75,6 @@ class ScopedLoggerInitializer {
|
| if (temp_file_ != NULL) fclose(temp_file_);
|
| i::FLAG_prof_lazy = saved_prof_lazy_;
|
| i::FLAG_prof = saved_prof_;
|
| - i::FLAG_prof_auto = saved_prof_auto_;
|
| i::FLAG_log = saved_log_;
|
| }
|
|
|
| @@ -95,7 +95,6 @@ class ScopedLoggerInitializer {
|
| i::FLAG_log = true;
|
| i::FLAG_prof = true;
|
| i::FLAG_prof_lazy = prof_lazy;
|
| - i::FLAG_prof_auto = false;
|
| i::FLAG_logfile = i::Log::kLogToTemporaryFile;
|
| return prof_lazy;
|
| }
|
| @@ -103,7 +102,6 @@ class ScopedLoggerInitializer {
|
| const bool saved_log_;
|
| const bool saved_prof_lazy_;
|
| const bool saved_prof_;
|
| - const bool saved_prof_auto_;
|
| FILE* temp_file_;
|
| const bool trick_to_run_init_flags_;
|
| v8::HandleScope scope_;
|
|
|