class Crystal::CodeGenVisitor::LLVMVar
inherits Reference
¶
Class methods¶
Methods¶
#already_loaded : Bool
¶
: Bool
Normally a variable is associated with an alloca. So for example, if you have a "x = Reference.new" you will have an "Reference*" llvm value and you need to load that value to access it. However, the "self" argument is not copied to a local variable: it's accessed from the arguments list, and is a "Reference" llvm value, so in a way it's "already loaded". This field is true if that's the case.