Move message-template to src/common
Change-Id: I8e6f10d6a5cba981134b44fda1a8ae3a4ea0fc97 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1675959 Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#62371}
This commit is contained in:
parent
386ff6e5d6
commit
45561dc465
@ -5,8 +5,8 @@
|
||||
#include "src/api/api-natives.h"
|
||||
|
||||
#include "src/api/api-inl.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/objects/api-callbacks.h"
|
||||
#include "src/objects/hash-table-inl.h"
|
||||
#include "src/objects/lookup.h"
|
||||
|
@ -12,9 +12,9 @@
|
||||
#include "src/codegen/compiler.h"
|
||||
#include "src/codegen/unoptimized-compilation-info.h"
|
||||
#include "src/common/assert-scope.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/execution/execution.h"
|
||||
#include "src/execution/isolate.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/handles/handles.h"
|
||||
#include "src/heap/factory.h"
|
||||
#include "src/logging/counters.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "src/ast/ast.h"
|
||||
#include "src/base/optional.h"
|
||||
#include "src/builtins/accessors.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/init/bootstrapper.h"
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/objects/module-inl.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "src/builtins/builtins-utils-inl.h"
|
||||
#include "src/builtins/builtins.h"
|
||||
#include "src/codegen/code-factory.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/heap/heap-inl.h" // For ToBoolean. TODO(jkummerow): Drop.
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/objects/keys.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "src/base/optional.h"
|
||||
#include "src/codegen/code-stub-assembler.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "src/base/macros.h"
|
||||
#include "src/codegen/bailout-reason.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/compiler/code-assembler.h"
|
||||
#include "src/execution/frames.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/objects/arguments.h"
|
||||
#include "src/objects/bigint.h"
|
||||
#include "src/objects/objects.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "src/codegen/optimized-compilation-info.h"
|
||||
#include "src/codegen/unoptimized-compilation-info.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/compiler-dispatcher/compiler-dispatcher.h"
|
||||
#include "src/compiler-dispatcher/optimizing-compile-dispatcher.h"
|
||||
#include "src/compiler/pipeline.h"
|
||||
@ -24,7 +25,6 @@
|
||||
#include "src/debug/liveedit.h"
|
||||
#include "src/execution/frames-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/execution/runtime-profiler.h"
|
||||
#include "src/execution/vm-state-inl.h"
|
||||
#include "src/heap/heap-inl.h"
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_EXECUTION_MESSAGE_TEMPLATE_H_
|
||||
#define V8_EXECUTION_MESSAGE_TEMPLATE_H_
|
||||
#ifndef V8_COMMON_MESSAGE_TEMPLATE_H_
|
||||
#define V8_COMMON_MESSAGE_TEMPLATE_H_
|
||||
|
||||
#include "src/base/logging.h"
|
||||
|
||||
@ -592,4 +592,4 @@ inline MessageTemplate MessageTemplateFromInt(int message_id) {
|
||||
} // namespace internal
|
||||
} // namespace v8
|
||||
|
||||
#endif // V8_EXECUTION_MESSAGE_TEMPLATE_H_
|
||||
#endif // V8_COMMON_MESSAGE_TEMPLATE_H_
|
@ -15,6 +15,7 @@
|
||||
#include "src/codegen/compilation-cache.h"
|
||||
#include "src/codegen/compiler.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/debug/debug-evaluate.h"
|
||||
#include "src/debug/liveedit.h"
|
||||
#include "src/deoptimizer/deoptimizer.h"
|
||||
@ -22,7 +23,6 @@
|
||||
#include "src/execution/execution.h"
|
||||
#include "src/execution/frames-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/execution/v8threads.h"
|
||||
#include "src/handles/global-handles.h"
|
||||
#include "src/heap/heap-inl.h" // For NextDebuggingId.
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/handles/handles.h"
|
||||
|
||||
namespace v8 {
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/execution/isolate.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/factory.h"
|
||||
#include "src/ic/stub-cache.h"
|
||||
#include "src/objects/feedback-vector.h"
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#include "src/json/json-parser.h"
|
||||
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/numbers/conversions.h"
|
||||
#include "src/numbers/hash-seed-inl.h"
|
||||
#include "src/objects/field-type.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "src/json/json-stringifier.h"
|
||||
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/numbers/conversions.h"
|
||||
#include "src/objects/heap-number-inl.h"
|
||||
#include "src/objects/js-array-inl.h"
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
#include "src/objects/elements.h"
|
||||
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/execution/arguments.h"
|
||||
#include "src/execution/frames.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/factory.h"
|
||||
#include "src/heap/heap-inl.h" // For MaxNumberToStringCacheSize.
|
||||
#include "src/heap/heap-write-barrier-inl.h"
|
||||
|
@ -25,13 +25,13 @@
|
||||
#include "src/builtins/builtins.h"
|
||||
#include "src/codegen/compiler.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/date/date.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/execution/arguments.h"
|
||||
#include "src/execution/execution.h"
|
||||
#include "src/execution/frames-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/execution/microtask-queue.h"
|
||||
#include "src/heap/heap-inl.h"
|
||||
#include "src/heap/read-only-heap.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "src/codegen/constants-arch.h"
|
||||
#include "src/common/assert-scope.h"
|
||||
#include "src/common/checks.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/flags/flags.h"
|
||||
#include "src/objects/elements-kind.h"
|
||||
#include "src/objects/field-index.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "include/v8.h"
|
||||
#include "src/base/compiler-specific.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/handles/maybe-handles.h"
|
||||
#include "src/utils/identity-map.h"
|
||||
#include "src/utils/vector.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define V8_PARSING_EXPRESSION_SCOPE_H_
|
||||
|
||||
#include "src/ast/scopes.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/objects/function-kind.h"
|
||||
#include "src/parsing/scanner.h"
|
||||
#include "src/zone/zone.h" // For ScopedPtrList.
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "src/base/v8-fallthrough.h"
|
||||
#include "src/codegen/bailout-reason.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/logging/log.h"
|
||||
#include "src/objects/function-kind.h"
|
||||
|
@ -15,8 +15,8 @@
|
||||
#include "src/base/overflowing-math.h"
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/codegen/bailout-reason.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/compiler-dispatcher/compiler-dispatcher.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/logging/log.h"
|
||||
#include "src/numbers/conversions-inl.h"
|
||||
#include "src/objects/scope-info.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include "src/base/macros.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/handles/handles.h"
|
||||
|
||||
namespace v8 {
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include "src/base/logging.h"
|
||||
#include "src/common/globals.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/parsing/literal-buffer.h"
|
||||
#include "src/parsing/token.h"
|
||||
#include "src/strings/char-predicates.h"
|
||||
|
@ -8,10 +8,10 @@
|
||||
#include <limits>
|
||||
|
||||
#include "src/builtins/accessors.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/logging/log.h"
|
||||
#include "src/objects/elements.h"
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
#include "src/asmjs/asm-js.h"
|
||||
#include "src/codegen/compiler.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/compiler-dispatcher/optimizing-compile-dispatcher.h"
|
||||
#include "src/deoptimizer/deoptimizer.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/frames-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/execution/v8threads.h"
|
||||
#include "src/execution/vm-state-inl.h"
|
||||
#include "src/objects/js-array-buffer-inl.h"
|
||||
|
@ -8,11 +8,11 @@
|
||||
#include "src/ast/ast-traversal-visitor.h"
|
||||
#include "src/ast/prettyprinter.h"
|
||||
#include "src/builtins/builtins.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/frames-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/init/bootstrapper.h"
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/numbers/conversions.h"
|
||||
|
@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/heap-inl.h" // For ToBoolean. TODO(jkummerow): Drop.
|
||||
#include "src/init/bootstrapper.h"
|
||||
#include "src/logging/counters.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/heap-inl.h" // For ToBoolean. TODO(jkummerow): Drop.
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/numbers/conversions-inl.h"
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
#include "src/ast/scopes.h"
|
||||
#include "src/builtins/accessors.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/deoptimizer/deoptimizer.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/frames-inl.h"
|
||||
#include "src/execution/isolate-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/heap-inl.h" // For ToBoolean. TODO(jkummerow): Drop.
|
||||
#include "src/init/bootstrapper.h"
|
||||
#include "src/logging/counters.h"
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/factory.h"
|
||||
#include "src/heap/heap-inl.h"
|
||||
#include "src/logging/counters.h"
|
||||
|
@ -3,11 +3,11 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/base/memory.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/compiler/wasm-compiler.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/execution/arguments-inl.h"
|
||||
#include "src/execution/frame-constants.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/heap/factory.h"
|
||||
#include "src/logging/counters.h"
|
||||
#include "src/numbers/conversions.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define V8_WASM_WASM_OPCODES_H_
|
||||
|
||||
#include "src/common/globals.h"
|
||||
#include "src/execution/message-template.h"
|
||||
#include "src/common/message-template.h"
|
||||
#include "src/wasm/value-type.h"
|
||||
#include "src/wasm/wasm-constants.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user