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
2442b5f3
Commit
2442b5f3
authored
Sep 03, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #892 from rudi-c/fixoverride
Add override keyword where necessary.
parents
e44735cf
068b448a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/codegen/irgen/irgenerator.cpp
src/codegen/irgen/irgenerator.cpp
+2
-2
src/runtime/iterators.cpp
src/runtime/iterators.cpp
+3
-2
No files found.
src/codegen/irgen/irgenerator.cpp
View file @
2442b5f3
...
...
@@ -2844,7 +2844,7 @@ public:
// As a special-case, a NULL value for final_dest means that this helper block should
// instead propagate the exception out of the function.
llvm
::
BasicBlock
*
getCAPIExcDest
(
llvm
::
BasicBlock
*
from_block
,
llvm
::
BasicBlock
*
final_dest
,
AST_stmt
*
current_stmt
)
{
AST_stmt
*
current_stmt
)
override
{
llvm
::
BasicBlock
*&
capi_exc_dest
=
capi_exc_dests
[
final_dest
];
llvm
::
PHINode
*&
phi_node
=
capi_phis
[
final_dest
];
...
...
@@ -2906,7 +2906,7 @@ public:
return
capi_exc_dest
;
}
llvm
::
BasicBlock
*
getCXXExcDest
(
llvm
::
BasicBlock
*
final_dest
)
{
llvm
::
BasicBlock
*
getCXXExcDest
(
llvm
::
BasicBlock
*
final_dest
)
override
{
llvm
::
BasicBlock
*&
cxx_exc_dest
=
cxx_exc_dests
[
final_dest
];
if
(
cxx_exc_dest
)
return
cxx_exc_dest
;
...
...
src/runtime/iterators.cpp
View file @
2442b5f3
...
...
@@ -63,7 +63,7 @@ public:
return
&
_end
;
}
void
gc_visit
(
GCVisitor
*
v
)
{
void
gc_visit
(
GCVisitor
*
v
)
override
{
if
(
iterator
)
v
->
visit
(
iterator
);
if
(
value
)
...
...
@@ -71,6 +71,7 @@ public:
}
};
template
<
typename
T
>
class
BoxIteratorIndex
:
public
BoxIteratorImpl
{
private:
T
*
obj
;
...
...
@@ -115,7 +116,7 @@ public:
return
&
_end
;
}
void
gc_visit
(
GCVisitor
*
v
)
{
void
gc_visit
(
GCVisitor
*
v
)
override
{
if
(
obj
)
v
->
visit
(
obj
);
}
...
...
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