Commit eea94f33 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Remove an old assert

parent 4818b5a4
...@@ -284,12 +284,6 @@ private: ...@@ -284,12 +284,6 @@ private:
arg_types.push_back(right); arg_types.push_back(right);
CompilerType* rtn = attr_type->callType(ArgPassSpec(2), arg_types, NULL); 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(), ASSERT(rtn != UNDEF, "need to implement the actual semantics here for %s.%s", left->debugName().c_str(),
name->c_str()); name->c_str());
......
...@@ -9,6 +9,7 @@ for i in xrange(1, 12): ...@@ -9,6 +9,7 @@ for i in xrange(1, 12):
print i | j print i | j
print i & j print i & j
print i ^ j print i ^ j
print 1 | 2, 1 & 2, 1 & 2
print (2).__int__() print (2).__int__()
print (True).__int__() print (True).__int__()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment