Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.612 kb
We don't return a variable, we return its value. For this, we use createLoad()
before createReturn().
Blocks can be created in any order. The branches control how
they are traversed at run-time.
Run-Time:
When passing a pointer to a compiled routine, we pass an externalptr
object. Sometimes we store this in an S4 object. If we use the convention
that the slot used to hold this pointer is named "ref", the Rllvm
code will try to access that. This avoids having to explicitly
pass x@ref, but instead just x.
If the S4 class extends RC++Reference, the ref slot is immediately available
and all will work.
Jump to Line
Something went wrong with that request. Please try again.