// Copyright 2021 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/builtins/builtins-utils-inl.h" #include "src/codegen/compiler.h" #include "src/logging/counters.h" #include "src/objects/js-shadow-realm-inl.h" namespace v8 { namespace internal { // https://tc39.es/proposal-shadowrealm/#sec-shadowrealm-constructor BUILTIN(ShadowRealmConstructor) { … } namespace { // https://tc39.es/proposal-shadowrealm/#sec-getwrappedvalue MaybeHandle<Object> GetWrappedValue( Isolate* isolate, DirectHandle<NativeContext> creation_context, Handle<Object> value) { … } } // namespace // https://tc39.es/proposal-shadowrealm/#sec-shadowrealm.prototype.evaluate BUILTIN(ShadowRealmPrototypeEvaluate) { … } } // namespace internal } // namespace v8