Mercurial > projects > ldc
comparison gen/asmstmt.cpp @ 231:61aa721a6b7f trunk
[svn r247] fixed accessing global symbols from inline asm.
author | lindquist |
---|---|
date | Sun, 08 Jun 2008 01:07:58 +0200 |
parents | cac3d27ae481 |
children | 092468448d25 |
comparison
equal
deleted
inserted
replaced
230:79d8f6b3fbaf | 231:61aa721a6b7f |
---|---|
256 | 256 |
257 if (! asmcode) | 257 if (! asmcode) |
258 return; | 258 return; |
259 | 259 |
260 static std::string i_cns = "i"; | 260 static std::string i_cns = "i"; |
261 static std::string p_cns = "m"; | 261 static std::string p_cns = "i"; |
262 static std::string l_cns = "X"; | 262 static std::string l_cns = "X"; |
263 static std::string m_cns = "*m"; | 263 static std::string m_cns = "*m"; |
264 static std::string mw_cns = "=*m"; | 264 static std::string mw_cns = "=*m"; |
265 static std::string mrw_cns = "+*m"; | 265 static std::string mrw_cns = "+*m"; |
266 static std::string memory_name = "memory"; | 266 static std::string memory_name = "memory"; |