diff options
| author | whitequark <whitequark@whitequark.org> | 2018-11-08 04:00:18 +0000 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2018-11-08 04:00:18 +0000 |
| commit | c07f8c14f9d8011d8c7869b9123c4c81a6529898 (patch) | |
| tree | 569d797d02bc71948b00965dce536804f6082bc4 /llvm/lib/Analysis/ScalarEvolution.cpp | |
| parent | 73cb9784957802156c0bae15fb5709da3e9bf3d3 (diff) | |
| download | bcm5719-llvm-c07f8c14f9d8011d8c7869b9123c4c81a6529898.tar.gz bcm5719-llvm-c07f8c14f9d8011d8c7869b9123c4c81a6529898.zip | |
[OCaml] Fix incorrect use of CAMLlocal in nested blocks
Summary:
The OCaml manual states:
> Local variables of type value must be declared with one of the
> CAMLlocal macros. [...] These macros must be used at the beginning
> of the function, not in a nested block.
This patch moves several instances of CAMLlocal macros from nested
blocks to the function beginning.
Reviewers: whitequark
Reviewed By: whitequark
Subscribers: CodaFi, llvm-commits
Differential Revision: https://reviews.llvm.org/D53841
llvm-svn: 346387
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions

