Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: src/objects/object-macros.h

Issue 2961253002: [objects] Rename macros from DECLARE_ to DECL_ for consistency. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects/name.h ('k') | src/objects/object-macros-undef.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects/object-macros.h
diff --git a/src/objects/object-macros.h b/src/objects/object-macros.h
index 9deb014ecad5721b36b7ccb000dd9205cded6cb9..a1a67fcdba4648801b037e78b0fd241a4be071d8 100644
--- a/src/objects/object-macros.h
+++ b/src/objects/object-macros.h
@@ -25,7 +25,7 @@
inline void set_##name(type* value, \
WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
-#define DECLARE_CAST(type) \
+#define DECL_CAST(type) \
INLINE(static type* cast(Object* object)); \
INLINE(static const type* cast(const Object* object));
@@ -258,9 +258,9 @@
static_cast<base::Atomic8>(value));
#ifdef VERIFY_HEAP
-#define DECLARE_VERIFIER(Name) void Name##Verify();
+#define DECL_VERIFIER(Name) void Name##Verify();
#else
-#define DECLARE_VERIFIER(Name)
+#define DECL_VERIFIER(Name)
#endif
#define DEFINE_DEOPT_ELEMENT_ACCESSORS(name, type) \
« no previous file with comments | « src/objects/name.h ('k') | src/objects/object-macros-undef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698