Path: blob/master/runtime/bcutil/BuildResult.hpp
5985 views
/*******************************************************************************1* Copyright (c) 2001, 2021 IBM Corp. and others2*3* This program and the accompanying materials are made available under4* the terms of the Eclipse Public License 2.0 which accompanies this5* distribution and is available at https://www.eclipse.org/legal/epl-2.0/6* or the Apache License, Version 2.0 which accompanies this distribution and7* is available at https://www.apache.org/licenses/LICENSE-2.0.8*9* This Source Code may also be made available under the following10* Secondary Licenses when the conditions for such availability set11* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12* General Public License, version 2 with the GNU Classpath13* Exception [1] and GNU General Public License, version 2 with the14* OpenJDK Assembly Exception [2].15*16* [1] https://www.gnu.org/software/classpath/license.html17* [2] http://openjdk.java.net/legal/assembly-exception.html18*19* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception20*******************************************************************************/2122/*23* BuildResult.hpp24*/2526#ifndef BUILDRESULT_HPP_27#define BUILDRESULT_HPP_2829/* @ddr_namespace: default */30#include "j9.h"3132enum BuildResult {33OK = BCT_ERR_NO_ERROR,34GenericError = BCT_ERR_GENERIC_ERROR,35GenericErrorCustomMsg = BCT_ERR_GENERIC_ERROR_CUSTOM_MSG,36OutOfROM = BCT_ERR_OUT_OF_ROM,37ClassRead = BCT_ERR_CLASS_READ,38BytecodeTranslationFailed = BCT_ERR_BYTECODE_TRANSLATION_FAILED,39StackMapFailed = BCT_ERR_STACK_MAP_FAILED,40InvalidBytecode = BCT_ERR_INVALID_BYTECODE,41OutOfMemory = BCT_ERR_OUT_OF_MEMORY,42VerifyErrorInlining = BCT_ERR_VERIFY_ERROR_INLINING,43NeedWideBranches = BCT_ERR_NEED_WIDE_BRANCHES,44UnknownAnnotation = BCT_ERR_UNKNOWN_ANNOTATION,45ClassNameMismatch = BCT_ERR_CLASS_NAME_MISMATCH,46IllegalPackageName = BCT_ERR_ILLEGAL_PACKAGE_NAME,47InvalidAnnotation = BCT_ERR_INVALID_ANNOTATION,48LineNumberTableDecompressFailed = BCT_ERR_LINE_NUMBER_TABLE_DECOMPRESS_FAILED,49InvalidBytecodeSize = BCT_ERR_INVALID_BYTECODE_SIZE,50InvalidClassType = BCT_ERR_INVALID_CLASS_TYPE,51#if defined(J9VM_OPT_VALHALLA_VALUE_TYPES)52InvalidValueType = BCT_ERR_INVALID_VALUE_TYPE,53#endif /* defined(J9VM_OPT_VALHALLA_VALUE_TYPES) */54};5556#endif /* BUILDRESULT_HPP_ */575859