Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
sav08:semantics_of_field_reads_and_writes [2009/03/18 10:02] vkuncak |
sav08:semantics_of_field_reads_and_writes [2009/03/18 10:19] vkuncak |
||
---|---|---|---|
Line 12: | Line 12: | ||
++++ | ++++ | ||
- | What about null pointer checks? | ||
- | |||
- | Examples: | ||
- | y = x.next.next | ||
- | x.next.next.prev = y | ||
- | (x = null | x.next == y) | ||
- | |||
- | Statement simplification. | ||
- | |||
- | Short-circuit evaluation. | ||
- | |||
- | Compiler intermediate representation is sometimes more convenient than source code | ||
- | * or verification system can repeat the compilation process from source to relations (guarded commands) | ||
- | * [[:compilation:top]] |