Lines Matching refs:BitWidth
1 import { BitWidth } from './bit-width'
34 private align(width: BitWidth) {
56 pushInt(value: number, width: BitWidth): void {
57 if (width === BitWidth.WIDTH8) {
59 } else if (width === BitWidth.WIDTH16) {
61 } else if (width === BitWidth.WIDTH32) {
63 } else if (width === BitWidth.WIDTH64) {
70 pushUInt(value: number, width: BitWidth): void {
71 if (width === BitWidth.WIDTH8) {
73 } else if (width === BitWidth.WIDTH16) {
75 } else if (width === BitWidth.WIDTH32) {
77 } else if (width === BitWidth.WIDTH64) {
138 const stackValue = this.offsetStackValue(this.offset, ValueType.KEY, BitWidth.WIDTH8);
388 return new StackValue(this, ValueType.NULL, BitWidth.WIDTH8);
392 return new StackValue(this, ValueType.BOOL, BitWidth.WIDTH8, value);
407 private offsetStackValue(offset: number, valueType: ValueType, bitWidth: BitWidth): StackValue {