From dda12f8ef6916d4b70fb73ba6e1b81391cc874f3 Mon Sep 17 00:00:00 2001 From: Brian Leibig Date: Thu, 27 Dec 2012 17:17:32 -0500 Subject: Replace much of the REPL run code with a call to compile_upto --- src/rustllvm/RustWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rustllvm/RustWrapper.cpp') diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index bb00f04a6f9..b01294062a6 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -281,7 +281,7 @@ void *RustMCJITMemoryManager::getPointerToNamedFunction(const std::string &Name, if (Name == "mknod") return (void*)(intptr_t)&mknod; #endif - if (Name == "__morestack") return &__morestack; + if (Name == "__morestack" || Name == "___morestack") return &__morestack; const char *NameStr = Name.c_str(); -- cgit 1.4.1-3-g733a5