mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
add type asserts in Compiler::condJump
This commit is contained in:
parent
33d946d249
commit
e3354617a6
@ -2634,8 +2634,8 @@ class MyCompiler: public Compiler {
|
||||
(isGeneralBranch(op) and isGeneralValue(a) and isGeneralValue(b))or(
|
||||
isFloatBranch(op) and isFloatValue(a) and isFloatValue(b)));
|
||||
|
||||
// assert(&c, type.flavor() == a->type.flavor());
|
||||
// assert(&c, type.flavor() == b->type.flavor());
|
||||
assert(&c, type == a->type);
|
||||
assert(&c, type == b->type);
|
||||
assert(&c,
|
||||
address->type == ir::Type(ir::Type::Integer, TargetBytesPerWord));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user