1 // Copyright 2016 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "src/compiler-dispatcher/compiler-dispatcher-job.h" 6 7 #include "src/compiler-dispatcher/unoptimized-compile-job.h" 8 9 namespace v8 { 10 namespace internal { 11 AsUnoptimizedCompileJob() const12const UnoptimizedCompileJob* CompilerDispatcherJob::AsUnoptimizedCompileJob() 13 const { 14 DCHECK_EQ(type(), Type::kUnoptimizedCompile); 15 return static_cast<const UnoptimizedCompileJob*>(this); 16 } 17 18 } // namespace internal 19 } // namespace v8 20