Skip to content

Commit 39c4984

Browse files
committed
Consistently refer to GOTO as GOTO
To avoid introducing the new term `GOTO-IR` which is not widely used within the codebase.
1 parent 549dd0f commit 39c4984

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/architectural/central-data-structures.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CBMC and the assorted CProver tools.
77
## goto_modelt
88

99
The `goto_modelt` is the main data structure that CBMC (and the other tools) used
10-
for the GOTO-IR (the `GOTO` Intermediate Representation).
10+
for the GOTO intermediate representation.
1111

1212
A `goto_modelt` is effectively a pair, consisting of:
1313

@@ -29,7 +29,7 @@ The abstract interface of `goto_modelt` is outlined in the file
2929
## goto_functiont
3030

3131
A `goto_functiont` is also defined as a pair. It's designed to represent a function
32-
at the IR level, and effectively it's the following data type (in pseudocode):
32+
at the goto level, and effectively it's the following data type (in pseudocode):
3333

3434
```js
3535
type goto_functiont {
@@ -46,7 +46,7 @@ in the symbol-table for their values.
4646

4747
## goto_programt
4848

49-
A `goto_programt` is a list of GOTO-IR instructions. In pseudocode, it would
49+
A `goto_programt` is a list of GOTO instructions. In pseudocode, it would
5050
look like `type goto_programt = list<goto_instructiont>`.
5151

5252
An instruction (`goto_instructiont`) is a triple (an element with three subcomponents),
@@ -88,7 +88,7 @@ tree that ends up modeling graphs like ASTs, CFGs, etc.
8888
various expressions, usually the result of some early processing, e.g. the result of the
8989
frontend parsing a file).
9090

91-
This means that `codet`s, representing GOTO-IR instructions *also* have a `source_locationt`
91+
This means that `codet`s, representing GOTO instructions *also* have a `source_locationt`
9292
attached to them, by virtue of inheriting from `exprt`.
9393

9494
For the most part, `source_locationt` is something that is only being used when we print

0 commit comments

Comments
 (0)