diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-10-27 01:08:06 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-10-27 01:08:06 -0400 |
| commit | bfcd6648e70bfe647b6fea9d6d9a024c4a9169d4 (patch) | |
| tree | 2b1c65292a34e10f9324cd0274806a3b76a06a7f /src/all_types.hpp | |
| parent | 44d6f8ffd8eac02747fa0f915b925bb2112570dd (diff) | |
| download | zig-bfcd6648e70bfe647b6fea9d6d9a024c4a9169d4.tar.gz zig-bfcd6648e70bfe647b6fea9d6d9a024c4a9169d4.zip | |
IR can inline loops
Diffstat (limited to 'src/all_types.hpp')
| -rw-r--r-- | src/all_types.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp index df0ecff62c..1ec123bc74 100644 --- a/src/all_types.hpp +++ b/src/all_types.hpp @@ -1609,6 +1609,9 @@ struct IrInstructionConst { IrInstruction base; }; +// When an IrExecutable is not in a function, a return instruction means that +// the expression returns with that value, even though a return statement from +// an AST perspective is invalid. struct IrInstructionReturn { IrInstruction base; |
