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
3393c3a6
Commit
3393c3a6
authored
Jun 22, 2001
by
Stan Shebs
Committed by
Stan Shebs
Jun 22, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* objc/objc-act.c (hash_init): Use xcalloc.
From-SVN: r43498
parent
daa19534
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
gcc/ChangeLog
+4
-0
gcc/objc/objc-act.c
+2
-5
No files found.
gcc/ChangeLog
View file @
3393c3a6
2001
-
06
-
21
Stan
Shebs
<
shebs
@apple
.
com
>
*
objc
/
objc
-
act
.
c
(
hash_init
)
:
Use
xcalloc
.
2001
-
06
-
21
Richard
Henderson
<
rth
@redhat
.
com
>
*
flow
.
c
(
entry_exit_blocks
)
:
Initialize
frequency
.
...
...
gcc/objc/objc-act.c
View file @
3393c3a6
...
...
@@ -5447,11 +5447,8 @@ build_ivar_reference (id)
static
void
hash_init
()
{
nst_method_hash_list
=
(
hash
*
)
xmalloc
(
SIZEHASHTABLE
*
sizeof
(
hash
));
cls_method_hash_list
=
(
hash
*
)
xmalloc
(
SIZEHASHTABLE
*
sizeof
(
hash
));
memset
(
nst_method_hash_list
,
0
,
SIZEHASHTABLE
*
sizeof
(
hash
));
memset
(
cls_method_hash_list
,
0
,
SIZEHASHTABLE
*
sizeof
(
hash
));
nst_method_hash_list
=
(
hash
*
)
xcalloc
(
SIZEHASHTABLE
,
sizeof
(
hash
));
cls_method_hash_list
=
(
hash
*
)
xcalloc
(
SIZEHASHTABLE
,
sizeof
(
hash
));
}
/* WARNING!!!! hash_enter is called with a method, and will peek
...
...
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