Commit 6c6fc948 authored by Shu-yu Guo's avatar Shu-yu Guo Committed by V8 LUCI CQ

[ShadowRealm] Make filenames consistent

Make the file names consistent on "shadow-realm" (i.e. singular, with a
dash).

Bug: v8:11989
Change-Id: Id0a6f417fd9b53b9f7ddf9677da7396fa2481af6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3606392Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80164}
parent 0407423b
...@@ -912,7 +912,7 @@ filegroup( ...@@ -912,7 +912,7 @@ filegroup(
"src/objects/js-proxy.tq", "src/objects/js-proxy.tq",
"src/objects/js-regexp-string-iterator.tq", "src/objects/js-regexp-string-iterator.tq",
"src/objects/js-regexp.tq", "src/objects/js-regexp.tq",
"src/objects/js-shadow-realms.tq", "src/objects/js-shadow-realm.tq",
"src/objects/js-struct.tq", "src/objects/js-struct.tq",
"src/objects/js-temporal-objects.tq", "src/objects/js-temporal-objects.tq",
"src/objects/js-weak-refs.tq", "src/objects/js-weak-refs.tq",
...@@ -1119,7 +1119,7 @@ filegroup( ...@@ -1119,7 +1119,7 @@ filegroup(
"src/builtins/builtins-promise.h", "src/builtins/builtins-promise.h",
"src/builtins/builtins-reflect.cc", "src/builtins/builtins-reflect.cc",
"src/builtins/builtins-regexp.cc", "src/builtins/builtins-regexp.cc",
"src/builtins/builtins-shadow-realms.cc", "src/builtins/builtins-shadow-realm.cc",
"src/builtins/builtins-sharedarraybuffer.cc", "src/builtins/builtins-sharedarraybuffer.cc",
"src/builtins/builtins-string.cc", "src/builtins/builtins-string.cc",
"src/builtins/builtins-struct.cc", "src/builtins/builtins-struct.cc",
...@@ -1727,8 +1727,8 @@ filegroup( ...@@ -1727,8 +1727,8 @@ filegroup(
"src/objects/js-regexp-string-iterator.h", "src/objects/js-regexp-string-iterator.h",
"src/objects/js-regexp.cc", "src/objects/js-regexp.cc",
"src/objects/js-regexp.h", "src/objects/js-regexp.h",
"src/objects/js-shadow-realms.h", "src/objects/js-shadow-realm.h",
"src/objects/js-shadow-realms-inl.h", "src/objects/js-shadow-realm-inl.h",
"src/objects/js-struct.h", "src/objects/js-struct.h",
"src/objects/js-struct-inl.h", "src/objects/js-struct-inl.h",
"src/objects/js-temporal-objects.h", "src/objects/js-temporal-objects.h",
...@@ -2889,7 +2889,7 @@ filegroup( ...@@ -2889,7 +2889,7 @@ filegroup(
"src/builtins/builtins-proxy-gen.h", "src/builtins/builtins-proxy-gen.h",
"src/builtins/builtins-regexp-gen.cc", "src/builtins/builtins-regexp-gen.cc",
"src/builtins/builtins-regexp-gen.h", "src/builtins/builtins-regexp-gen.h",
"src/builtins/builtins-shadowrealm-gen.cc", "src/builtins/builtins-shadow-realm-gen.cc",
"src/builtins/builtins-sharedarraybuffer-gen.cc", "src/builtins/builtins-sharedarraybuffer-gen.cc",
"src/builtins/builtins-string-gen.cc", "src/builtins/builtins-string-gen.cc",
"src/builtins/builtins-string-gen.h", "src/builtins/builtins-string-gen.h",
......
...@@ -1786,7 +1786,7 @@ torque_files = [ ...@@ -1786,7 +1786,7 @@ torque_files = [
"src/objects/js-proxy.tq", "src/objects/js-proxy.tq",
"src/objects/js-regexp-string-iterator.tq", "src/objects/js-regexp-string-iterator.tq",
"src/objects/js-regexp.tq", "src/objects/js-regexp.tq",
"src/objects/js-shadow-realms.tq", "src/objects/js-shadow-realm.tq",
"src/objects/js-struct.tq", "src/objects/js-struct.tq",
"src/objects/js-temporal-objects.tq", "src/objects/js-temporal-objects.tq",
"src/objects/js-weak-refs.tq", "src/objects/js-weak-refs.tq",
...@@ -2365,7 +2365,7 @@ v8_source_set("v8_initializers") { ...@@ -2365,7 +2365,7 @@ v8_source_set("v8_initializers") {
"src/builtins/builtins-proxy-gen.h", "src/builtins/builtins-proxy-gen.h",
"src/builtins/builtins-regexp-gen.cc", "src/builtins/builtins-regexp-gen.cc",
"src/builtins/builtins-regexp-gen.h", "src/builtins/builtins-regexp-gen.h",
"src/builtins/builtins-shadowrealm-gen.cc", "src/builtins/builtins-shadow-realm-gen.cc",
"src/builtins/builtins-sharedarraybuffer-gen.cc", "src/builtins/builtins-sharedarraybuffer-gen.cc",
"src/builtins/builtins-string-gen.cc", "src/builtins/builtins-string-gen.cc",
"src/builtins/builtins-string-gen.h", "src/builtins/builtins-string-gen.h",
...@@ -3215,8 +3215,8 @@ v8_header_set("v8_internal_headers") { ...@@ -3215,8 +3215,8 @@ v8_header_set("v8_internal_headers") {
"src/objects/js-regexp.h", "src/objects/js-regexp.h",
"src/objects/js-segments-inl.h", "src/objects/js-segments-inl.h",
"src/objects/js-segments.h", "src/objects/js-segments.h",
"src/objects/js-shadow-realms-inl.h", "src/objects/js-shadow-realm-inl.h",
"src/objects/js-shadow-realms.h", "src/objects/js-shadow-realm.h",
"src/objects/js-struct-inl.h", "src/objects/js-struct-inl.h",
"src/objects/js-struct.h", "src/objects/js-struct.h",
"src/objects/js-temporal-objects-inl.h", "src/objects/js-temporal-objects-inl.h",
...@@ -4159,7 +4159,7 @@ v8_source_set("v8_base_without_compiler") { ...@@ -4159,7 +4159,7 @@ v8_source_set("v8_base_without_compiler") {
"src/builtins/builtins-object.cc", "src/builtins/builtins-object.cc",
"src/builtins/builtins-reflect.cc", "src/builtins/builtins-reflect.cc",
"src/builtins/builtins-regexp.cc", "src/builtins/builtins-regexp.cc",
"src/builtins/builtins-shadow-realms.cc", "src/builtins/builtins-shadow-realm.cc",
"src/builtins/builtins-sharedarraybuffer.cc", "src/builtins/builtins-sharedarraybuffer.cc",
"src/builtins/builtins-string.cc", "src/builtins/builtins-string.cc",
"src/builtins/builtins-struct.cc", "src/builtins/builtins-struct.cc",
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include 'src/objects/js-generator.h' #include 'src/objects/js-generator.h'
#include 'src/objects/js-promise.h' #include 'src/objects/js-promise.h'
#include 'src/objects/js-regexp-string-iterator.h' #include 'src/objects/js-regexp-string-iterator.h'
#include 'src/objects/js-shadow-realms.h' #include 'src/objects/js-shadow-realm.h'
#include 'src/objects/js-struct.h' #include 'src/objects/js-struct.h'
#include 'src/objects/js-weak-refs.h' #include 'src/objects/js-weak-refs.h'
#include 'src/objects/objects.h' #include 'src/objects/objects.h'
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include "src/builtins/builtins.h" #include "src/builtins/builtins.h"
#include "src/codegen/code-stub-assembler.h" #include "src/codegen/code-stub-assembler.h"
#include "src/objects/descriptor-array.h" #include "src/objects/descriptor-array.h"
#include "src/objects/js-shadow-realms.h" #include "src/objects/js-shadow-realm.h"
#include "src/objects/module.h" #include "src/objects/module.h"
namespace v8 { namespace v8 {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include "src/builtins/builtins-utils-inl.h" #include "src/builtins/builtins-utils-inl.h"
#include "src/codegen/compiler.h" #include "src/codegen/compiler.h"
#include "src/logging/counters.h" #include "src/logging/counters.h"
#include "src/objects/js-shadow-realms-inl.h" #include "src/objects/js-shadow-realm-inl.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#endif // V8_INTL_SUPPORT #endif // V8_INTL_SUPPORT
#include "src/objects/js-regexp-inl.h" #include "src/objects/js-regexp-inl.h"
#include "src/objects/js-regexp-string-iterator-inl.h" #include "src/objects/js-regexp-string-iterator-inl.h"
#include "src/objects/js-shadow-realms-inl.h" #include "src/objects/js-shadow-realm-inl.h"
#ifdef V8_INTL_SUPPORT #ifdef V8_INTL_SUPPORT
#include "src/objects/js-relative-time-format-inl.h" #include "src/objects/js-relative-time-format-inl.h"
#include "src/objects/js-segment-iterator-inl.h" #include "src/objects/js-segment-iterator-inl.h"
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#endif // V8_INTL_SUPPORT #endif // V8_INTL_SUPPORT
#include "src/objects/js-regexp-string-iterator.h" #include "src/objects/js-regexp-string-iterator.h"
#include "src/objects/js-regexp.h" #include "src/objects/js-regexp.h"
#include "src/objects/js-shadow-realms.h" #include "src/objects/js-shadow-realm.h"
#ifdef V8_INTL_SUPPORT #ifdef V8_INTL_SUPPORT
#include "src/objects/js-relative-time-format.h" #include "src/objects/js-relative-time-format.h"
#include "src/objects/js-segment-iterator.h" #include "src/objects/js-segment-iterator.h"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include "src/objects/js-proxy-inl.h" #include "src/objects/js-proxy-inl.h"
#include "src/objects/js-regexp-inl.h" #include "src/objects/js-regexp-inl.h"
#include "src/objects/js-regexp-string-iterator-inl.h" #include "src/objects/js-regexp-string-iterator-inl.h"
#include "src/objects/js-shadow-realms-inl.h" #include "src/objects/js-shadow-realm-inl.h"
#include "src/objects/js-struct-inl.h" #include "src/objects/js-struct-inl.h"
#include "src/objects/js-temporal-objects-inl.h" #include "src/objects/js-temporal-objects-inl.h"
#include "src/objects/js-weak-refs-inl.h" #include "src/objects/js-weak-refs-inl.h"
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#include "src/objects/js-promise.h" #include "src/objects/js-promise.h"
#include "src/objects/js-regexp-inl.h" #include "src/objects/js-regexp-inl.h"
#include "src/objects/js-regexp-string-iterator.h" #include "src/objects/js-regexp-string-iterator.h"
#include "src/objects/js-shadow-realms.h" #include "src/objects/js-shadow-realm.h"
#ifdef V8_INTL_SUPPORT #ifdef V8_INTL_SUPPORT
#include "src/objects/js-relative-time-format.h" #include "src/objects/js-relative-time-format.h"
#include "src/objects/js-segment-iterator.h" #include "src/objects/js-segment-iterator.h"
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef V8_OBJECTS_JS_SHADOW_REALMS_INL_H_ #ifndef V8_OBJECTS_JS_SHADOW_REALM_INL_H_
#define V8_OBJECTS_JS_SHADOW_REALMS_INL_H_ #define V8_OBJECTS_JS_SHADOW_REALM_INL_H_
#include "src/api/api-inl.h" #include "src/api/api-inl.h"
#include "src/heap/heap-write-barrier-inl.h" #include "src/heap/heap-write-barrier-inl.h"
#include "src/objects/js-shadow-realms.h" #include "src/objects/js-shadow-realm.h"
#include "src/objects/smi-inl.h" #include "src/objects/smi-inl.h"
// Has to be the last include (doesn't have include guards): // Has to be the last include (doesn't have include guards):
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
namespace v8 { namespace v8 {
namespace internal { namespace internal {
#include "torque-generated/src/objects/js-shadow-realms-tq-inl.inc" #include "torque-generated/src/objects/js-shadow-realm-tq-inl.inc"
TQ_OBJECT_CONSTRUCTORS_IMPL(JSShadowRealm) TQ_OBJECT_CONSTRUCTORS_IMPL(JSShadowRealm)
...@@ -25,4 +25,4 @@ TQ_OBJECT_CONSTRUCTORS_IMPL(JSShadowRealm) ...@@ -25,4 +25,4 @@ TQ_OBJECT_CONSTRUCTORS_IMPL(JSShadowRealm)
#include "src/objects/object-macros-undef.h" #include "src/objects/object-macros-undef.h"
#endif // V8_OBJECTS_JS_SHADOW_REALMS_INL_H_ #endif // V8_OBJECTS_JS_SHADOW_REALM_INL_H_
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef V8_OBJECTS_JS_SHADOW_REALMS_H_ #ifndef V8_OBJECTS_JS_SHADOW_REALM_H_
#define V8_OBJECTS_JS_SHADOW_REALMS_H_ #define V8_OBJECTS_JS_SHADOW_REALM_H_
#include "src/objects/js-objects.h" #include "src/objects/js-objects.h"
#include "torque-generated/bit-fields.h" #include "torque-generated/bit-fields.h"
...@@ -16,7 +16,7 @@ namespace internal { ...@@ -16,7 +16,7 @@ namespace internal {
class NativeContext; class NativeContext;
#include "torque-generated/src/objects/js-shadow-realms-tq.inc" #include "torque-generated/src/objects/js-shadow-realm-tq.inc"
// ShadowRealm object from the JS ShadowRealm spec proposal: // ShadowRealm object from the JS ShadowRealm spec proposal:
// https://github.com/tc39/proposal-shadowrealm // https://github.com/tc39/proposal-shadowrealm
...@@ -36,4 +36,4 @@ class JSShadowRealm ...@@ -36,4 +36,4 @@ class JSShadowRealm
#include "src/objects/object-macros-undef.h" #include "src/objects/object-macros-undef.h"
#endif // V8_OBJECTS_JS_SHADOW_REALMS_H_ #endif // V8_OBJECTS_JS_SHADOW_REALM_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment