diff options
| author | Tom Lee <github@tomlee.co> | 2013-05-24 20:18:20 -0700 |
|---|---|---|
| committer | Tom Lee <github@tomlee.co> | 2013-05-27 17:13:01 -0700 |
| commit | cddd274e4defa86820a7a4218f6f55a440b2f82f (patch) | |
| tree | a0e5087ddbfffba07d71eeff1a2f943d5f62d2cd /src/rt/rust_builtin.cpp | |
| parent | 67283eaad2f53e19ae963e2b0a04b65826568336 (diff) | |
| download | rust-cddd274e4defa86820a7a4218f6f55a440b2f82f.tar.gz rust-cddd274e4defa86820a7a4218f6f55a440b2f82f.zip | |
Add _RUST_STAGE0 #ifdefs
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 99fd46737e0..cf7c0777057 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -754,7 +754,11 @@ public: virtual void run() { record_sp_limit(0); +#ifdef _RUST_STAGE0 + fn.f(NULL, fn.env, NULL); +#else fn.f(fn.env, NULL); +#endif } }; |
