add type asserts in appendCombine and appendTranslate

This commit is contained in:
Joshua Warner
2014-05-03 20:52:02 -06:00
committed by Joshua Warner
parent 008bb6b86e
commit d67820054e
3 changed files with 67 additions and 52 deletions

View File

@ -2668,9 +2668,9 @@ class MyCompiler: public Compiler {
appendCombine(&c,
op,
type.size(),
a->type.size(),
static_cast<Value*>(a),
type.size(),
b->type.size(),
static_cast<Value*>(b),
type.size(),
result);