remove redundant Compiler::storeLocal footprint parameter

This commit is contained in:
Joshua Warner
2014-05-03 21:54:10 -06:00
committed by Joshua Warner
parent cc4525c31c
commit 91c5599fc0
3 changed files with 5 additions and 6 deletions

View File

@ -2534,10 +2534,9 @@ class MyCompiler: public Compiler {
linkLocals(&c, e->locals(), newLocals);
}
virtual void storeLocal(unsigned footprint, ir::Value* src, unsigned index)
virtual void storeLocal(ir::Value* src, unsigned index)
{
assert(&c, typeFootprint(src->type) == footprint);
compiler::storeLocal(&c, footprint, static_cast<Value*>(src), index, true);
compiler::storeLocal(&c, typeFootprint(&c, src->type), static_cast<Value*>(src), index, true);
}
virtual ir::Value* loadLocal(ir::Type type, unsigned index)