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
eea94f33
Commit
eea94f33
authored
9 years ago
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an old assert
parent
4818b5a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
src/analysis/type_analysis.cpp
src/analysis/type_analysis.cpp
+0
-6
test/tests/intmethods.py
test/tests/intmethods.py
+1
-0
No files found.
src/analysis/type_analysis.cpp
View file @
eea94f33
...
...
@@ -284,12 +284,6 @@ private:
arg_types
.
push_back
(
right
);
CompilerType
*
rtn
=
attr_type
->
callType
(
ArgPassSpec
(
2
),
arg_types
,
NULL
);
if
(
left
==
right
&&
(
left
==
INT
||
left
==
FLOAT
))
{
ASSERT
((
rtn
==
left
||
rtn
==
UNKNOWN
)
&&
"not strictly required but probably something worth looking into"
,
"%s %s %s -> %s"
,
left
->
debugName
().
c_str
(),
name
->
data
(),
right
->
debugName
().
c_str
(),
rtn
->
debugName
().
c_str
());
}
ASSERT
(
rtn
!=
UNDEF
,
"need to implement the actual semantics here for %s.%s"
,
left
->
debugName
().
c_str
(),
name
->
c_str
());
...
...
This diff is collapsed.
Click to expand it.
test/tests/intmethods.py
View file @
eea94f33
...
...
@@ -9,6 +9,7 @@ for i in xrange(1, 12):
print
i
|
j
print
i
&
j
print
i
^
j
print
1
|
2
,
1
&
2
,
1
&
2
print
(
2
).
__int__
()
print
(
True
).
__int__
()
...
...
This diff is collapsed.
Click to expand it.
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