aboutsummaryrefslogtreecommitdiff
path: root/src/comp/back
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-10-22 17:27:22 -0700
committerGraydon Hoare <[email protected]>2010-10-22 17:27:22 -0700
commite5229b97d73a462b26dbb0d4f94030b41a3cb922 (patch)
treebd5f8cc8aa820c77ec1fe7aa6c71fcf20b6c9e18 /src/comp/back
parentMerge branch 'master' of github.com:graydon/rust (diff)
downloadrust-e5229b97d73a462b26dbb0d4f94030b41a3cb922.tar.xz
rust-e5229b97d73a462b26dbb0d4f94030b41a3cb922.zip
Don't use string == in x86.rs, doesn't work.
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/x86.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/back/x86.rs b/src/comp/back/x86.rs
index 86631e93..0a5fc506 100644
--- a/src/comp/back/x86.rs
+++ b/src/comp/back/x86.rs
@@ -131,7 +131,7 @@ fn get_module_asm() -> str {
auto align = 4;
auto prefix = "";
- if (target_os() == "macos") {
+ if (_str.eq(target_os(), "macos")) {
prefix = "_";
}