createStackSaveImpl creates a call to llvm.stacksave.p0 to read the current stack pointer.
()
| 89 | // createStackSaveImpl creates a call to llvm.stacksave.p0 to read the current |
| 90 | // stack pointer. |
| 91 | func (b *builder) createStackSaveImpl() { |
| 92 | b.createFunctionStart(true) |
| 93 | sp := b.readStackPointer() |
| 94 | b.CreateRet(sp) |
| 95 | } |
| 96 | |
| 97 | // Return the llvm.memset.p0.i8 function declaration. |
| 98 | func (c *compilerContext) getMemsetFunc() llvm.Value { |
no test coverage detected