Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
f673aa7b
Commit
f673aa7b
authored
Jul 12, 2015
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused RuntimeICs
parent
703d45d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
72 deletions
+0
-72
src/runtime/ics.h
src/runtime/ics.h
+0
-72
No files found.
src/runtime/ics.h
View file @
f673aa7b
...
...
@@ -77,29 +77,6 @@ public:
}
};
class
RuntimeCallIC
:
public
RuntimeIC
{
public:
RuntimeCallIC
()
:
RuntimeIC
((
void
*
)
runtimeCall
,
2
,
320
)
{}
Box
*
call
(
Box
*
obj
,
ArgPassSpec
argspec
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
arg3
,
Box
**
args
)
{
return
(
Box
*
)
call_ptr
(
obj
,
argspec
,
arg1
,
arg2
,
arg3
,
args
);
}
};
class
UnaryopIC
:
public
RuntimeIC
{
public:
UnaryopIC
()
:
RuntimeIC
((
void
*
)
unaryop
,
2
,
160
)
{}
Box
*
call
(
Box
*
obj
,
int
op_type
)
{
return
(
Box
*
)
call_ptr
(
obj
,
op_type
);
}
};
class
AugBinopIC
:
public
RuntimeIC
{
public:
AugBinopIC
()
:
RuntimeIC
((
void
*
)
augbinop
,
2
,
240
)
{}
Box
*
call
(
Box
*
lhs
,
Box
*
rhs
,
int
op_type
)
{
return
(
Box
*
)
call_ptr
(
lhs
,
rhs
,
op_type
);
}
};
class
BinopIC
:
public
RuntimeIC
{
public:
BinopIC
()
:
RuntimeIC
((
void
*
)
binop
,
2
,
240
)
{}
...
...
@@ -107,55 +84,6 @@ public:
Box
*
call
(
Box
*
lhs
,
Box
*
rhs
,
int
op_type
)
{
return
(
Box
*
)
call_ptr
(
lhs
,
rhs
,
op_type
);
}
};
class
CompareIC
:
public
RuntimeIC
{
public:
CompareIC
()
:
RuntimeIC
((
void
*
)
compare
,
2
,
240
)
{}
Box
*
call
(
Box
*
lhs
,
Box
*
rhs
,
int
op_type
)
{
return
(
Box
*
)
call_ptr
(
lhs
,
rhs
,
op_type
);
}
};
class
GetItemIC
:
public
RuntimeIC
{
public:
GetItemIC
()
:
RuntimeIC
((
void
*
)
getitem
,
2
,
512
)
{}
Box
*
call
(
Box
*
obj
,
Box
*
attr
)
{
return
(
Box
*
)
call_ptr
(
obj
,
attr
);
}
};
class
SetItemIC
:
public
RuntimeIC
{
public:
SetItemIC
()
:
RuntimeIC
((
void
*
)
setitem
,
2
,
512
)
{}
Box
*
call
(
Box
*
obj
,
Box
*
attr
,
Box
*
v
)
{
return
(
Box
*
)
call_ptr
(
obj
,
attr
,
v
);
}
};
class
GetAttrIC
:
public
RuntimeIC
{
public:
GetAttrIC
()
:
RuntimeIC
((
void
*
)
getattr
,
2
,
512
)
{}
Box
*
call
(
Box
*
obj
,
BoxedString
*
attr
)
{
return
(
Box
*
)
call_ptr
(
obj
,
attr
);
}
};
class
SetAttrIC
:
public
RuntimeIC
{
public:
SetAttrIC
()
:
RuntimeIC
((
void
*
)
setattr
,
2
,
512
)
{}
Box
*
call
(
Box
*
obj
,
BoxedString
*
attr
,
Box
*
v
)
{
return
(
Box
*
)
call_ptr
(
obj
,
attr
,
v
);
}
};
class
GetGlobalIC
:
public
RuntimeIC
{
public:
GetGlobalIC
()
:
RuntimeIC
((
void
*
)
getGlobal
,
2
,
512
)
{}
Box
*
call
(
Box
*
obj
,
BoxedString
*
s
)
{
return
(
Box
*
)
call_ptr
(
obj
,
s
);
}
};
class
SetGlobalIC
:
public
RuntimeIC
{
public:
SetGlobalIC
()
:
RuntimeIC
((
void
*
)
setGlobal
,
2
,
512
)
{}
Box
*
call
(
Box
*
obj
,
BoxedString
*
s
,
Box
*
v
)
{
return
(
Box
*
)
call_ptr
(
obj
,
s
,
v
);
}
};
class
NonzeroIC
:
public
RuntimeIC
{
public:
NonzeroIC
()
:
RuntimeIC
((
void
*
)
nonzero
,
1
,
40
)
{}
...
...
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