OLD | NEW |
(Empty) | |
| 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 <memory> |
| 6 |
| 7 #include "src/compiler-dispatcher/compiler-dispatcher-job.h" |
| 8 #include "src/isolate-inl.h" |
| 9 #include "test/unittests/test-utils.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 |
| 12 namespace v8 { |
| 13 namespace internal { |
| 14 |
| 15 typedef TestWithContext CompilerDispatcherJobTest; |
| 16 |
| 17 TEST_F(CompilerDispatcherJobTest, Construct) { |
| 18 Isolate* i_isolate = reinterpret_cast<Isolate*>(isolate()); |
| 19 std::unique_ptr<CompilerDispatcherJob> job( |
| 20 new CompilerDispatcherJob(i_isolate, i_isolate->object_function())); |
| 21 } |
| 22 |
| 23 } // namespace internal |
| 24 } // namespace v8 |
OLD | NEW |