[WebAssembly] Minor code simplification. NFC.
[oota-llvm.git] / lib / MC / ConstantPools.cpp
index a723aa8fa4090c558f3b66c4263e2b1edbfc462f..f7649fba6e896aab85cfc5a70f2504eeb1f1c357 100644 (file)
@@ -40,7 +40,7 @@ const MCExpr *ConstantPool::addEntry(const MCExpr *Value, MCContext &Context,
   MCSymbol *CPEntryLabel = Context.createTempSymbol();
 
   Entries.push_back(ConstantPoolEntry(CPEntryLabel, Value, Size));
-  return MCSymbolRefExpr::Create(CPEntryLabel, Context);
+  return MCSymbolRefExpr::create(CPEntryLabel, Context);
 }
 
 bool ConstantPool::empty() { return Entries.empty(); }