/*
 * Copyright 2017 Volker Berlin (i-net software)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.inetsoftware.jwebassembly.module;

/**
 * @author Volker Berlin
 */
public enum ValueType {
    i32,
    i64,
    f32,
    f64
}

@@ -739,16 +739,20 @@
 %0A    i32
+(-1)
 ,%0D%0A    i
@@ -753,16 +753,20 @@
 %0A    i64
+(-2)
 ,%0D%0A    f
@@ -767,16 +767,20 @@
 %0A    f32
+(-3)
 ,%0D%0A    f
@@ -781,13 +781,424 @@
 %0A    f64
+(-4),%0D%0A    func(-0x20);%0D%0A%0D%0A    private int code;%0D%0A%0D%0A    /**%0D%0A     * Create instance of the enum%0D%0A     * %0D%0A     * @param code%0D%0A     *            the operation code in WebAssembly%0D%0A     */%0D%0A    private ValueType( int code ) %7B%0D%0A        this.code = code;%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * The operation code in WebAssembly.%0D%0A     * %0D%0A     * @return the code%0D%0A     */%0D%0A    public int getCode() %7B%0D%0A        return code;%0D%0A    %7D
 %0D%0A%7D%0D%0A

Add operation code