예제 #1
0
        /// <summary>
        /// Use an int literal.
        /// </summary>
        public void Int(string content)
        {
            var l = long.Parse(content, CultureInfo.InvariantCulture);

            if (l > int.MaxValue || l < int.MinValue)
            {
                Instructions.Add(OpCode.LOAD_I64);
                Instructions.AddLong(l);
                return;
            }
            Instructions.LoadInt(content);
        }