Skip to content

Instantly share code, notes, and snippets.

@ErikCorryGoogle
Created January 9, 2017 09:11
Show Gist options
  • Save ErikCorryGoogle/f0cf52e4dfd9b4d5382b14d590466207 to your computer and use it in GitHub Desktop.
Save ErikCorryGoogle/f0cf52e4dfd9b4d5382b14d590466207 to your computer and use it in GitHub Desktop.
%statepoint_token = call token (…) @llvm.experimental.gc.statepoint(326, 0, %code, 3, 0, %process, %this, %16)
%method_result = call @llvm.experimental.gc.result(token %statepoint_token)
%this.relocated = call coldcc @llvm.experimental.gc.relocate(token %statepoint_token, 10, 10) ; (%this, %this)
%16.relocated = call coldcc @llvm.experimental.gc.relocate(token %statepoint_token, 11, 11) ; (%16, %16)
; We now have to use %this.relocated instead of %this,
; and %16.relocated instead of %16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment