OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "test/unittests/test-utils.h" | 5 #include "test/unittests/test-utils.h" |
6 | 6 |
7 #include "include/libplatform/libplatform.h" | 7 #include "include/libplatform/libplatform.h" |
8 #include "src/base/platform/time.h" | 8 #include "src/base/platform/time.h" |
9 #include "src/debug/debug.h" | 9 #include "src/debug/debug.h" |
10 #include "src/flags.h" | 10 #include "src/flags.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 | 78 |
79 namespace internal { | 79 namespace internal { |
80 | 80 |
81 TestWithIsolate::~TestWithIsolate() {} | 81 TestWithIsolate::~TestWithIsolate() {} |
82 | 82 |
83 TestWithIsolateAndZone::~TestWithIsolateAndZone() {} | 83 TestWithIsolateAndZone::~TestWithIsolateAndZone() {} |
84 | 84 |
85 Factory* TestWithIsolate::factory() const { return isolate()->factory(); } | 85 Factory* TestWithIsolate::factory() const { return isolate()->factory(); } |
86 | 86 |
87 | |
88 base::RandomNumberGenerator* TestWithIsolate::random_number_generator() const { | 87 base::RandomNumberGenerator* TestWithIsolate::random_number_generator() const { |
89 return isolate()->random_number_generator(); | 88 return isolate()->random_number_generator(); |
90 } | 89 } |
91 | 90 |
| 91 TestWithZone::~TestWithZone() {} |
92 | 92 |
93 TestWithZone::~TestWithZone() {} | 93 TestWithNativeContext::~TestWithNativeContext() {} |
| 94 |
| 95 Handle<Context> TestWithNativeContext::native_context() const { |
| 96 return isolate()->native_context(); |
| 97 } |
94 | 98 |
95 } // namespace internal | 99 } // namespace internal |
96 } // namespace v8 | 100 } // namespace v8 |
OLD | NEW |