Commit 28294e87 authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[cleanup] Move object lists macros and forward declarations from objects.h

... to a separate file.

Bug: v8:9183
Change-Id: I87f98ed0fec84eb32403c3447bec7be50a79261d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1588095Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61094}
parent ebc89980
...@@ -2512,6 +2512,7 @@ v8_source_set("v8_base_without_compiler") { ...@@ -2512,6 +2512,7 @@ v8_source_set("v8_base_without_compiler") {
"src/objects/module.h", "src/objects/module.h",
"src/objects/name-inl.h", "src/objects/name-inl.h",
"src/objects/name.h", "src/objects/name.h",
"src/objects/object-list-macros.h",
"src/objects/object-macros-undef.h", "src/objects/object-macros-undef.h",
"src/objects/object-macros.h", "src/objects/object-macros.h",
"src/objects/oddball-inl.h", "src/objects/oddball-inl.h",
......
This diff is collapsed.
This diff is collapsed.
...@@ -57,8 +57,10 @@ ...@@ -57,8 +57,10 @@
#undef RELAXED_WRITE_WEAK_FIELD #undef RELAXED_WRITE_WEAK_FIELD
#undef WRITE_BARRIER #undef WRITE_BARRIER
#undef WEAK_WRITE_BARRIER #undef WEAK_WRITE_BARRIER
#undef EPHEMERON_KEY_WRITE_BARRIER
#undef CONDITIONAL_WRITE_BARRIER #undef CONDITIONAL_WRITE_BARRIER
#undef CONDITIONAL_WEAK_WRITE_BARRIER #undef CONDITIONAL_WEAK_WRITE_BARRIER
#undef CONDITIONAL_EPHEMERON_KEY_WRITE_BARRIER
#undef READ_DOUBLE_FIELD #undef READ_DOUBLE_FIELD
#undef WRITE_DOUBLE_FIELD #undef WRITE_DOUBLE_FIELD
#undef READ_INT_FIELD #undef READ_INT_FIELD
...@@ -97,6 +99,8 @@ ...@@ -97,6 +99,8 @@
#undef RELAXED_READ_BYTE_FIELD #undef RELAXED_READ_BYTE_FIELD
#undef WRITE_BYTE_FIELD #undef WRITE_BYTE_FIELD
#undef RELAXED_WRITE_BYTE_FIELD #undef RELAXED_WRITE_BYTE_FIELD
#undef DECL_PRINTER
#undef DECL_VERIFIER #undef DECL_VERIFIER
#undef EXPORT_DECL_VERIFIER
#undef DEFINE_DEOPT_ELEMENT_ACCESSORS #undef DEFINE_DEOPT_ELEMENT_ACCESSORS
#undef DEFINE_DEOPT_ENTRY_ACCESSORS #undef DEFINE_DEOPT_ENTRY_ACCESSORS
...@@ -493,6 +493,12 @@ ...@@ -493,6 +493,12 @@
base::Relaxed_Store(reinterpret_cast<base::Atomic8*>(FIELD_ADDR(p, offset)), \ base::Relaxed_Store(reinterpret_cast<base::Atomic8*>(FIELD_ADDR(p, offset)), \
static_cast<base::Atomic8>(value)); static_cast<base::Atomic8>(value));
#ifdef OBJECT_PRINT
#define DECL_PRINTER(Name) void Name##Print(std::ostream& os); // NOLINT
#else
#define DECL_PRINTER(Name)
#endif
#ifdef VERIFY_HEAP #ifdef VERIFY_HEAP
#define DECL_VERIFIER(Name) void Name##Verify(Isolate* isolate); #define DECL_VERIFIER(Name) void Name##Verify(Isolate* isolate);
#define EXPORT_DECL_VERIFIER(Name) \ #define EXPORT_DECL_VERIFIER(Name) \
......
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