compiler-dispatcher-job.cc 566 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/compiler-dispatcher/compiler-dispatcher-job.h"

7
#include "src/compiler-dispatcher/unoptimized-compile-job.h"
8 9 10 11

namespace v8 {
namespace internal {

12 13 14 15
const UnoptimizedCompileJob* CompilerDispatcherJob::AsUnoptimizedCompileJob()
    const {
  DCHECK_EQ(type(), kUnoptimizedCompile);
  return static_cast<const UnoptimizedCompileJob*>(this);
16 17
}

18 19
}  // namespace internal
}  // namespace v8