Skip to content

Conversation

@aschwaighofer
Copy link
Contributor

…scape conversion

%0 = function_ref @return_one : $@convention(thin) () -> Builtin.Int32
%1 = convert_function %0 : $@convention(thin) () -> Builtin.Int32 to $@convention(thin) @NoEscape () -> Builtin.Int32
%2 = thin_to_thick_function %1 : $@convention(thin) @NoEscape () -> Builtin.Int32 to $@NoEscape () -> Builtin.Int32
%3 = apply %2() : $@NoEscape () -> Builtin.Int32

rdar://37945226

…scape conversion

  %0 = function_ref @return_one : $@convention(thin) () -> Builtin.Int32
  %1 = convert_function %0 : $@convention(thin) () -> Builtin.Int32 to $@convention(thin) @NoEscape () -> Builtin.Int32
  %2 = thin_to_thick_function %1 : $@convention(thin) @NoEscape () -> Builtin.Int32 to $@NoEscape () -> Builtin.Int32
  %3 = apply %2() : $@NoEscape () -> Builtin.Int32

rdar://37945226
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test

@aschwaighofer aschwaighofer merged commit 512beb2 into swiftlang:master Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant