Index: src/PNaClTranslator.cpp |
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp |
index 35108ccc560410fcb01575c3b3b65144b50c883e..6c0ee8af755db5cfcc2c1777f288fa20bbfa2aca 100644 |
--- a/src/PNaClTranslator.cpp |
+++ b/src/PNaClTranslator.cpp |
@@ -1608,7 +1608,7 @@ void FunctionParser::ProcessRecord() { |
// TODO(kschimpf): Restrict index to a legal constant index (once |
// constants can be defined). |
CurrentNode->appendInst(Ice::InstInsertElement::create( |
- Func, getNextInstVar(EltType), Vec, Elt, Index)); |
+ Func, getNextInstVar(VecType), Vec, Elt, Index)); |
break; |
} |
case naclbitc::FUNC_CODE_INST_CMP2: { |