public ResolvedJumpInstruction(int offset, JumpType jumpType, ushort destination, Label resolvedDestination)
			: this(offset, jumpType, Condition.Always, destination, resolvedDestination)
		{
		}
		public ResolvedJumpInstruction(int offset, JumpType jumpType, Condition condition, ushort destination, Label resolvedDestination)
			: base(offset, jumpType, condition, destination)
		{
			this.resolvedDestination = resolvedDestination;
		}
Exemple #3
0
		private Label DefineLabelCore(int offset, string name, bool isFunction)
		{
			Label label;

			if (!labelDictionary.TryGetValue(offset, out label))
			{
				if (name != null)
					label = new Label(offset, name);
				else
					label = new Label(offset);

				labelDictionary.Add(offset, label);
			}

			if (isFunction)
				label.IsFunction = true;

			return label;
		}