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
82234d29
Commit
82234d29
authored
Apr 17, 2000
by
Mark Mitchell
Committed by
Mark Mitchell
Apr 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.
From-SVN: r33216
parent
0b5107cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/method.c
+1
-0
No files found.
gcc/cp/ChangeLog
View file @
82234d29
Mon Apr 17 17:11:16 2000 Mark P Mitchell <mark@codesourcery.com>
* method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.
2000-04-16 Mark Mitchell <mark@codesourcery.com>
* class.c (build_vtable_entry): Don't build thunks for type-info
...
...
gcc/cp/method.c
View file @
82234d29
...
...
@@ -2065,6 +2065,7 @@ make_thunk (function, delta, vcall_index)
=
vcall_index
*
int_size_in_bytes
(
vtable_entry_type
);
DECL_EXTERNAL
(
thunk
)
=
1
;
DECL_ARTIFICIAL
(
thunk
)
=
1
;
DECL_CONTEXT
(
thunk
)
=
DECL_CONTEXT
(
func_decl
);
/* So that finish_file can write out any thunks that need to be: */
pushdecl_top_level
(
thunk
);
}
...
...
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