Changed to Chris Lattner's suggested approach, which
[oota-llvm.git] / tools / ed / EDMain.cpp
index 2ac6c79296a0e239c90dac4bdb7f2b5ce3ae3e22..c2c179693e9546be6641ae300a21dbc8a1a35a65 100644 (file)
@@ -248,4 +248,18 @@ int EDBlockVisitTokens(EDInstRef inst,
   return inst->visitTokens(visitor);
 }
 
+#else
+
+extern "C" unsigned int EDBlockCreateInsts() {
+  return 0;
+}
+
+extern "C" int EDBlockEvaluateOperand() {
+  return -1;
+}
+
+extern "C" int EDBlockVisitTokens() {
+  return -1;
+}
+
 #endif