From 5bdab044f5c252b3e97595f87861adc58238352a Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 17 Apr 2019 13:22:12 +0200 Subject: fixes #11048 --- compiler/ccgliterals.nim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler/ccgliterals.nim') diff --git a/compiler/ccgliterals.nim b/compiler/ccgliterals.nim index f5372f050..da3668028 100644 --- a/compiler/ccgliterals.nim +++ b/compiler/ccgliterals.nim @@ -97,10 +97,6 @@ proc genStringLiteralDataOnly(m: BModule; s: string; info: TLineInfo): Rope = else: localError(m.config, info, "cannot determine how to produce code for string literal") -proc genStringLiteralFromData(m: BModule; data: Rope; info: TLineInfo): Rope = - result = ropecg(m, "((#NimStringDesc*) &$1)", - [data]) - proc genNilStringLiteral(m: BModule; info: TLineInfo): Rope = result = ropecg(m, "((#NimStringDesc*) NIM_NIL)", []) -- cgit 1.4.1-2-gfad0