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
62b9a712
Commit
62b9a712
authored
Aug 24, 1993
by
Kresten Krab Thorup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(CLS_SETNUMBER): Clear old number
From-SVN: r5203
parent
49905693
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
gcc/objc/objc-api.h
+3
-10
No files found.
gcc/objc/objc-api.h
View file @
62b9a712
...
...
@@ -236,7 +236,8 @@ struct objc_protocol_list {
*/
#define CLS_GETNUMBER(cls) (__CLS_INFO(cls) >> (HOST_BITS_PER_LONG/2))
#define CLS_SETNUMBER(cls, num) \
({ assert(CLS_GETNUMBER(cls)==0); \
({ (cls)->info <<= (HOST_BITS_PER_LONG/2); \
(cls)->info >>= (HOST_BITS_PER_LONG/2); \
__CLS_SETINFO(cls, (((unsigned long)num) << (HOST_BITS_PER_LONG/2))); })
/*
...
...
@@ -274,12 +275,10 @@ typedef struct objc_super {
IMP
objc_msg_lookup_super
(
Super_t
super
,
SEL
sel
);
retval_t
objc_msg_sendv
(
id
,
SEL
,
size_t
,
arglist_t
);
retval_t
objc_msg_sendv
(
id
,
SEL
,
arglist_t
);
static
const
ARGSIZE
=
96
;
/* for `method_get_argsize()' */
/*
** This is a hook which is called by objc_lookup_class and
** objc_get_class if the runtime is not able to find the class.
...
...
@@ -364,12 +363,6 @@ class_set_version(Class* class, long version)
class
->
version
=
version
;
}
static
inline
unsigned
int
method_get_argsize
(
Method_t
method
)
{
return
ARGSIZE
;
/* This was a magic number (96)... */
}
static
inline
IMP
method_get_imp
(
Method_t
method
)
{
...
...
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