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

Side by Side Diff: src/objects/object-macros.h

Issue 2594663002: objects.h splitting: Split out ScopeInfo + add necessary structures. (Closed)
Patch Set: scope-info.h iwyu + remove scope-info-inl.h Created 4 years 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 unified diff | Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/objects/object-macros-undef.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Note 1: Any file that includes this one should include object-macros-undef.h
6 // at the bottom.
7
8 // Note 2: This file is deliberately missing the include guards (the undeffing
9 // approach wouldn't work otherwise).
10
11 #define DECL_BOOLEAN_ACCESSORS(name) \
12 inline bool name() const; \
13 inline void set_##name(bool value);
14
15 #define DECL_INT_ACCESSORS(name) \
16 inline int name() const; \
17 inline void set_##name(int value);
18
19 #define DECL_ACCESSORS(name, type) \
20 inline type* name() const; \
21 inline void set_##name(type* value, \
22 WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
23
24 #define DECLARE_CAST(type) \
25 INLINE(static type* cast(Object* object)); \
26 INLINE(static const type* cast(const Object* object));
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/objects/object-macros-undef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698