diff options
Diffstat (limited to 'deps/v8/src/execution/off-thread-isolate-inl.h')
-rw-r--r-- | deps/v8/src/execution/off-thread-isolate-inl.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/v8/src/execution/off-thread-isolate-inl.h b/deps/v8/src/execution/off-thread-isolate-inl.h new file mode 100644 index 00000000000..13dfebd47f5 --- /dev/null +++ b/deps/v8/src/execution/off-thread-isolate-inl.h @@ -0,0 +1,22 @@ +// Copyright 2020 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. + +#ifndef V8_EXECUTION_OFF_THREAD_ISOLATE_INL_H_ +#define V8_EXECUTION_OFF_THREAD_ISOLATE_INL_H_ + +#include "src/execution/isolate.h" +#include "src/execution/off-thread-isolate.h" +#include "src/roots/roots-inl.h" + +namespace v8 { +namespace internal { + +Address OffThreadIsolate::isolate_root() const { + return isolate_->isolate_root(); +} + +} // namespace internal +} // namespace v8 + +#endif // V8_EXECUTION_OFF_THREAD_ISOLATE_INL_H_ |