Constant Propagation Transformation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 11: Line 11:
|-
|-
|<syntaxhighlight lang="c">
|<syntaxhighlight lang="c">
/* The following code tests ConstPropagation applied to main function.  
/* The following code tests constant propagation applied to main function.  
  * In the given example, variables a, b and c are known.  
  * In the given example, variables a, b and c are known.  
  * They are propagated to the rest of the body of main.
  * They are propagated to the rest of the body of main.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu