--- Comment #2 from deadalnix <> 2012-03-18 06:04:39 PDT ---
(In reply to comment #1)
> It's not that simple.  IIRC "mov EAX, globalThreadLocal" moves the offset of
> globalThreadLocal into EAX.  While this obviously isn't what you expected, 
> this
> is valid and useful.  How else would you get the offset?
> After all, you're using the inline assembler.  The compiler will never be able
> to protect you against writing incorrect assembly.

In this case, this behavior should be documented.

But this is confusing, because it is not what happen with other variables
(variable value is copied into the register).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to