summary refs log tree commit diff stats
path: root/compiler/ccgliterals.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-04-17 13:22:12 +0200
committerAraq <rumpf_a@web.de>2019-04-17 13:22:22 +0200
commit5bdab044f5c252b3e97595f87861adc58238352a (patch)
tree678540827f91bb090ad99f9ee47aeb5bf90eecad /compiler/ccgliterals.nim
parent14fc7437c330f36d19bc4ee707c8102f6f6bb190 (diff)
downloadNim-5bdab044f5c252b3e97595f87861adc58238352a.tar.gz
fixes #11048
Diffstat (limited to 'compiler/ccgliterals.nim')
-rw-r--r--compiler/ccgliterals.nim4
1 files changed, 0 insertions, 4 deletions
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)", [])