Question: Determine the basic blocks in the following code fragment, and give the control flow graph and the DOM tree i=m-1 j=n t1=4*n v=a[t1] L5: i=i+1
Determine the basic blocks in the following code fragment, and give the control flow graph and the DOM tree i=m-1 j=n t1=4*n v=a[t1] L5: i=i+1 t3=a[t2] if t3v goto L9 if i>=j goto L23 t6=4*i x=a[t6] t7=4*i t8=4*j a[t7]=t9 t10=4*j a[t10]=x goto L5 L23: t11=4*i x=a[t11] t12=4*i t13=4*n a[t12]=t14 t15=4*n a[t15]=x
I need help with the DOM tree part of this question.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
