Added StringLiteral instruction

This commit is contained in:
Tristan B. Velloza Kildaire 2022-07-25 19:30:07 +02:00
parent ca2fa84057
commit 415538f54a
1 changed files with 15 additions and 0 deletions

View File

@ -109,6 +109,21 @@ public final class LiteralValue : Value
}
}
/* FIXME: Implement this */
/**
* TODO: This should take in:
*
* 1. The string literal
* 2. It should assign it to an interning pool and get the ID (associate one with the string literal if equal/in-the-pool)
*/
public final class StringLiteral : Value
{
this()
{
}
}
/**
* BinOpInstr instruction
*