projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed to Chris Lattner's suggested approach, which
[oota-llvm.git]
/
tools
/
ed
/
EDMain.cpp
diff --git
a/tools/ed/EDMain.cpp
b/tools/ed/EDMain.cpp
index 2ac6c79296a0e239c90dac4bdb7f2b5ce3ae3e22..c2c179693e9546be6641ae300a21dbc8a1a35a65 100644
(file)
--- a/
tools/ed/EDMain.cpp
+++ b/
tools/ed/EDMain.cpp
@@
-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