* ILParser.jay: Emit ldstr instruction
authorJackson Harper <jackson@novell.com>
Sat, 15 Mar 2003 15:18:43 +0000 (15:18 -0000)
committerJackson Harper <jackson@novell.com>
Sat, 15 Mar 2003 15:18:43 +0000 (15:18 -0000)
svn path=/trunk/mcs/; revision=12536

mcs/ilasm/parser/ChangeLog
mcs/ilasm/parser/ILParser.jay

index a650cf9cd92fa4d79cc721df9d56d48d391fe4e9..ca12a3a79b6e4a5d0d4336b08d076f867330b85e 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-15 Jackson Harper <jackson@latitudegeo.com>
+
+       * ILParser.jay: Emit ldstr instruction
+
 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
 
        * ILParser.jay: Create external method references
index 439428c7e27a2e4495d121b8b67c823c00710f38..bbc8d7ab13c4fcfc29614237a39064d6cbbfa37b 100644 (file)
@@ -1084,7 +1084,7 @@ instr                   : INSTR_NONE
                          }\r
                        | INSTR_STRING compQstring \r
                                {\r
-                               /*      currentInstr = new InstrString ((OpCode) $1, $2 as string); */\r
+                                       codegen.CodeBuffer.ldstr ((string) $2);\r
                                }\r
                        | INSTR_STRING bytearrayhead bytes CLOSE_PARENS \r
                        | INSTR_SIG callConv type OPEN_PARENS sigArgs0 CLOSE_PARENS \r