diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-11-25 15:48:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-11-25 15:48:57 -0700 |
| commit | 86a0ae86992462577596b59feaa07c67c3a7566f (patch) | |
| tree | 434408477d8b89247ac3f3264ec45cab495125ef /src/codegen.cpp | |
| parent | e579011a6e6311be9b854e17c3a6583b72126b1b (diff) | |
| download | zig-86a0ae86992462577596b59feaa07c67c3a7566f.tar.gz zig-86a0ae86992462577596b59feaa07c67c3a7566f.zip | |
assert(false) -> zig_unreachable()
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 79213c27b4..0c8613445c 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -537,7 +537,7 @@ static void gen_block(CodeGen *g, AstNode *block_node) { case NodeTypeFnCall: case NodeTypeExternBlock: case NodeTypeDirective: - assert(false); + zig_unreachable(); } } |
