noodle_build: use bytecode_ptr

This commit is contained in:
Justin Viiret
2017-03-20 17:18:41 +11:00
committed by Matthew Barr
parent e90ad34f67
commit 9996283112
3 changed files with 10 additions and 11 deletions

View File

@@ -143,7 +143,7 @@ aligned_unique_ptr<HWLM> hwlmBuild(const vector<hwlmLiteral> &lits,
const hwlmLiteral &lit = lits.front();
auto noodle = noodBuildTable(lit);
if (noodle) {
engSize = noodSize(noodle.get());
engSize = noodle.size();
}
eng = move(noodle);
} else {