diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-17 14:43:44 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-18 10:32:27 -0800 |
| commit | eecbc815ac44be2d17338d6dfd60c1417ba29ff1 (patch) | |
| tree | 1437ea1a3b6ea86a0661471685e1883f33b628e6 /src | |
| parent | 3feaecd757241b7b5efd742108abe351ff8d497d (diff) | |
| download | rust-eecbc815ac44be2d17338d6dfd60c1417ba29ff1.tar.gz rust-eecbc815ac44be2d17338d6dfd60c1417ba29ff1.zip | |
intrinsics: Add some comments
Diffstat (limited to 'src')
| -rw-r--r-- | src/rt/intrinsics/intrinsics.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rt/intrinsics/intrinsics.cpp b/src/rt/intrinsics/intrinsics.cpp index 82346948afd..419c6cd1dc6 100644 --- a/src/rt/intrinsics/intrinsics.cpp +++ b/src/rt/intrinsics/intrinsics.cpp @@ -1,5 +1,7 @@ -// Use `clang++ -emit-llvm -S -arch i386 -O3 -I../isaac -I../uthash -// -I../arch/i386 -fno-stack-protector -o intrinsics.ll intrinsics.cpp` +// Rust intrinsics. These are built into each compilation unit and are +// run on the Rust stack. They should not call C methods because that +// will very likely result in running off the end of the stack. +// Build with the script in src/etc/gen-intrinsics #include "../rust_internal.h" #include "../rust_scheduler.h" |
