diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-12 23:39:20 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-12 23:39:20 +0000 |
| commit | 367013f589b2ae87a0b83410bc4ea770e1263157 (patch) | |
| tree | 74683b63a606055a6fd8ae172de428c5fd4c2ece /src/ir.cpp | |
| parent | c980a30bad9fc98c21e4ea36b4e27568650cd601 (diff) | |
Change Map and PtrSet grow rate
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 66d0f3ee4..3a64585d4 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -4683,8 +4683,8 @@ irValue *ir_build_expr(irProcedure *proc, AstNode *expr) { switch (expr->kind) { case_ast_node(bl, BasicLit, expr); - TokenPos pos = bl->pos; - GB_PANIC("Non-constant basic literal %.*s(%td:%td) - %.*s", LIT(pos.file), pos.line, pos.column, LIT(token_strings[bl->kind])); + TokenPos pos = bl->token.pos; + GB_PANIC("Non-constant basic literal %.*s(%td:%td) - %.*s", LIT(pos.file), pos.line, pos.column, LIT(token_strings[bl->token.kind])); case_end; case_ast_node(bd, BasicDirective, expr); |