Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
39ac3e4f
Commit
39ac3e4f
authored
25 years ago
by
Mark Mitchell
Committed by
Mark Mitchell
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.h (BINFO_VPTR_FIELD): Augment documentation.
From-SVN: r31453
parent
bbd15aac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
gcc/ChangeLog
+4
-0
gcc/tree.h
+7
-3
No files found.
gcc/ChangeLog
View file @
39ac3e4f
2000
-
01
-
16
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
tree
.
h
(
BINFO_VPTR_FIELD
)
:
Augment
documentation
.
2000
-
01
-
16
Alexandre
Oliva
<
oliva
@lsd
.
ic
.
unicamp
.
br
>
*
aclocal
.
m4
(
AC_FUNC_MMAP_ZERO
)
:
New
macro
.
...
...
This diff is collapsed.
Click to expand it.
gcc/tree.h
View file @
39ac3e4f
...
...
@@ -1026,9 +1026,13 @@ struct tree_type
#define BINFO_BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N))
#define TYPE_BINFO_BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
/* For a BINFO record describing an inheritance, this yields a pointer
to the artificial FIELD_DECL node which contains the "virtual base
class pointer" for the given inheritance. */
/* For a BINFO record describing a virtual base class, i.e., one where
TREE_VIA_VIRTUAL is set, this field assists in locating the virtual
base. The actual contents are language-dependent. Under the old
ABI, the C++ front-end uses a FIELD_DECL whose contents are a
pointer to the virtual base; under the new ABI this field is
instead a INTEGER_CST giving an offset into the vtable where the
offset to the virtual base can be found. */
#define BINFO_VPTR_FIELD(NODE) TREE_VEC_ELT ((NODE), 5)
/* The size of a base class subobject of this type. Not all frontends
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment