Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tddd55-lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDDD55 - Compilers and Interpreters
tddd55-lab
Commits
6d1e51a8
Commit
6d1e51a8
authored
4 years ago
by
John Tinnerholm
Browse files
Options
Downloads
Patches
Plain Diff
Updated the trace for lab-3
parent
e34a48c1
No related branches found
No related tags found
1 merge request
!3
Added C-code generator + test to TDDD55-lab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
traces/trace-lab3.txt
+32
-29
32 additions, 29 deletions
traces/trace-lab3.txt
with
32 additions
and
29 deletions
traces/trace-lab3.txt
+
32
−
29
View file @
6d1e51a8
FunctionInformation @ 0x7
6033
0
FunctionInformation @ 0x7
fffd215ded
0
Tag: 0
ID: main
.
ID: main
Table: 0
Parent: 0
Returns: 0
Parameters: none
Locals:
0x76a2c0 f
0x76a160 e
0x76a000 d
0x769ea0 c
0x769d20 b
0x769c88 a
Body: 0x76e7a8
0x7fffd2170370 f
0x7fffd2170110 e
0x7fffd216feb0 d
0x7fffd216fc50 c
0x7fffd216f9d0 b
0x7fffd216f8c0 a
Body: 0x7fffd217b020
StatementList (statement, preceding)
+-CallStatement (call)
| +-FunctionCall (function, arguments) [integer]
...
...
@@ -78,25 +79,27 @@ StatementList (statement, preceding)
Quads: 0
-------------------------------------------------------------------------------
SymbolTable @ 0x7
60360
SymbolTable @ 0x7
fffd215df28
-------------------------------------------------------------------------------
7 0x76a280 0x76a280 'real<11>.' array 11 of real [88]
11 0x764510 getint() -> integer
65 0x769c88 a : 0x761388 integer [4]
66 0x769d20 b : 0x7613c8 real [8] --> 0x769c88 a
67 0x769ea0 c : 0x769e60 'integer<10>.' array 10 of integer [40] --> 0x769d20 b
68 0x76a000 d : 0x769fc0 'integer<11>.' array 11 of integer [44] --> 0x769ea0 c
69 0x76a160 e : 0x76a120 'real<10>.' array 10 of real [80] --> 0x76a000 d
70 0x76a2c0 f : 0x76a280 'real<11>.' array 11 of real [88] --> 0x76a160 e
71 0x76c9f0 g(x) -> array 11 of integer
88 0x761388 0x761388 integer [4]
92 0x761408 putreal(x) -> integer
250 0x76a120 0x76a120 'real<10>.' array 10 of real [80]
511 0x76b630 fib(x) -> integer
519 0x76a310 fac(x) -> integer
603 0x7613c8 0x7613c8 real [8]
664 0x769fc0 0x769fc0 'integer<11>.' array 11 of integer [44]
775 0x762460 putint(x) -> integer
907 0x769e60 0x769e60 'integer<10>.' array 10 of integer [40]
918 0x7634b8 getreal() -> real
7 0x7fffd2170300 0x7fffd2170300 'real<11>.' array 11 of real [88]
11 0x7fffd2168320 getint() -> integer
65 0x7fffd216f8c0 a : 0x7fffd215ff80 integer [8]
66 0x7fffd216f9d0 b : 0x7fffd215fff0 real [8] --> 0x7fffd216f8c0 a
67 0x7fffd216fc50 c : 0x7fffd216fbe0 'integer<10>.' array 10 of integer [80] --> 0x7fffd216f9d0 b
68 0x7fffd216feb0 d : 0x7fffd216fe40 'integer<11>.' array 11 of integer [88] --> 0x7fffd216fc50 c
69 0x7fffd2170110 e : 0x7fffd21700a0 'real<10>.' array 10 of real [80] --> 0x7fffd216feb0 d
70 0x7fffd2170370 f : 0x7fffd2170300 'real<11>.' array 11 of real [88] --> 0x7fffd2170110 e
70 0x7fffd2170400 f(z; y; x) -> integer
71 0x7fffd21777b0 g(x) -> array 11 of integer
88 0x7fffd215ff80 0x7fffd215ff80 integer [8]
92 0x7fffd2160060 putreal(x) -> integer
250 0x7fffd21700a0 0x7fffd21700a0 'real<10>.' array 10 of real [80]
481 0x7fffd2162110 putline() -> no return type
511 0x7fffd21750c0 fib(x) -> integer
519 0x7fffd2172b00 fac(x) -> integer
603 0x7fffd215fff0 0x7fffd215fff0 real [8]
664 0x7fffd216fe40 0x7fffd216fe40 'integer<11>.' array 11 of integer [88]
775 0x7fffd21641c0 putint(x) -> integer
907 0x7fffd216fbe0 0x7fffd216fbe0 'integer<10>.' array 10 of integer [80]
918 0x7fffd2166270 getreal() -> real
-------------------------------------------------------------------------------
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment