Index: src/compiler-dispatcher/optimizing-compile-dispatcher.cc |
diff --git a/src/optimizing-compile-dispatcher.cc b/src/compiler-dispatcher/optimizing-compile-dispatcher.cc |
similarity index 99% |
rename from src/optimizing-compile-dispatcher.cc |
rename to src/compiler-dispatcher/optimizing-compile-dispatcher.cc |
index d5059f60f54fe0d3563c122fa30c258bcf324bab..c7b2f31b467efd8b1a058ddbd0b4a64730776c63 100644 |
--- a/src/optimizing-compile-dispatcher.cc |
+++ b/src/compiler-dispatcher/optimizing-compile-dispatcher.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "src/optimizing-compile-dispatcher.h" |
+#include "src/compiler-dispatcher/optimizing-compile-dispatcher.h" |
#include "src/base/atomicops.h" |
#include "src/full-codegen/full-codegen.h" |
@@ -29,7 +29,6 @@ void DisposeCompilationJob(CompilationJob* job, bool restore_function_code) { |
} // namespace |
- |
class OptimizingCompileDispatcher::CompileTask : public v8::Task { |
public: |
explicit CompileTask(Isolate* isolate) : isolate_(isolate) { |
@@ -76,7 +75,6 @@ class OptimizingCompileDispatcher::CompileTask : public v8::Task { |
DISALLOW_COPY_AND_ASSIGN(CompileTask); |
}; |
- |
OptimizingCompileDispatcher::~OptimizingCompileDispatcher() { |
#ifdef DEBUG |
{ |
@@ -120,7 +118,6 @@ void OptimizingCompileDispatcher::CompileNext(CompilationJob* job) { |
isolate_->stack_guard()->RequestInstallCode(); |
} |
- |
void OptimizingCompileDispatcher::FlushOutputQueue(bool restore_function_code) { |
for (;;) { |
CompilationJob* job = NULL; |
@@ -135,7 +132,6 @@ void OptimizingCompileDispatcher::FlushOutputQueue(bool restore_function_code) { |
} |
} |
- |
void OptimizingCompileDispatcher::Flush() { |
base::Release_Store(&mode_, static_cast<base::AtomicWord>(FLUSH)); |
if (FLAG_block_concurrent_recompilation) Unblock(); |
@@ -150,7 +146,6 @@ void OptimizingCompileDispatcher::Flush() { |
} |
} |
- |
void OptimizingCompileDispatcher::Stop() { |
base::Release_Store(&mode_, static_cast<base::AtomicWord>(FLUSH)); |
if (FLAG_block_concurrent_recompilation) Unblock(); |
@@ -170,7 +165,6 @@ void OptimizingCompileDispatcher::Stop() { |
} |
} |
- |
void OptimizingCompileDispatcher::InstallOptimizedFunctions() { |
HandleScope handle_scope(isolate_); |
@@ -214,7 +208,6 @@ void OptimizingCompileDispatcher::QueueForOptimization(CompilationJob* job) { |
} |
} |
- |
void OptimizingCompileDispatcher::Unblock() { |
while (blocked_jobs_ > 0) { |
V8::GetCurrentPlatform()->CallOnBackgroundThread( |
@@ -223,6 +216,5 @@ void OptimizingCompileDispatcher::Unblock() { |
} |
} |
- |
} // namespace internal |
} // namespace v8 |