diff options
| author | Rob Arnold <robarnold@cs.cmu.edu> | 2011-06-15 22:04:31 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-05 11:57:06 -0700 |
| commit | f4b87c749fc5dc085cd31ba3b5f91f11d863e0fa (patch) | |
| tree | eda7bb0b2f57582791c7c60800a8c2d98d866ec3 /src/rt/rust_upcall.cpp | |
| parent | b64a52df42feeb4fa59d11b19568e2aba5ef9e65 (diff) | |
| download | rust-f4b87c749fc5dc085cd31ba3b5f91f11d863e0fa.tar.gz rust-f4b87c749fc5dc085cd31ba3b5f91f11d863e0fa.zip | |
Basic async IO module using libuv
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 2554868c986..02fa7bc2846 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -1,21 +1,8 @@ #include "rust_internal.h" +#include "rust_upcall.h" // Upcalls. -#ifdef __GNUC__ -#define LOG_UPCALL_ENTRY(task) \ - LOG(task, upcall, \ - "> UPCALL %s - task: %s 0x%" PRIxPTR \ - " retpc: x%" PRIxPTR, \ - __FUNCTION__, \ - (task)->name, (task), \ - __builtin_return_address(0)); -#else -#define LOG_UPCALL_ENTRY(task) \ - LOG(task, upcall, "> UPCALL task: %s @x%" PRIxPTR, \ - (task)->name, (task)); -#endif - extern "C" CDECL char const * str_buf(rust_task *task, rust_str *s); |
