v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
bailout-reason.h File Reference
#include <cstdint>
Include dependency graph for bailout-reason.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define ABORT_MESSAGES_LIST(V)
 
#define BAILOUT_MESSAGES_LIST(V)
 
#define ERROR_MESSAGES_CONSTANTS(C, T)
 

Enumerations

enum class  v8::internal::BailoutReason : uint8_t { v8::internal::BAILOUT_MESSAGES_LIST =(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage }
 
enum class  v8::internal::AbortReason : uint8_t { v8::internal::ABORT_MESSAGES_LIST =(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage }
 

Functions

const char * v8::internal::GetBailoutReason (BailoutReason reason)
 
const char * v8::internal::GetAbortReason (AbortReason reason)
 
bool v8::internal::IsValidAbortReason (int reason_id)
 

Macro Definition Documentation

◆ ABORT_MESSAGES_LIST

#define ABORT_MESSAGES_LIST ( V)

Definition at line 13 of file bailout-reason.h.

◆ BAILOUT_MESSAGES_LIST

#define BAILOUT_MESSAGES_LIST ( V)
Value:
V(kNoReason, "no reason") \
\
V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
V(kCancelled, "Job got cancelled") \
V(kConcurrentMapDeprecation, "Maps became deprecated during optimization") \
V(kCodeGenerationFailed, "Code generation failed") \
V(kFunctionBeingDebugged, "Function is being debugged") \
V(kGraphBuildingFailed, "Optimized graph construction failed") \
V(kFunctionTooBig, "Function is too big to be optimized") \
V(kTooManyArguments, "Function contains a call with too many arguments") \
V(kLiveEdit, "LiveEdit") \
V(kNativeFunctionLiteral, "Native function literal") \
V(kOptimizationDisabled, "Optimization disabled") \
V(kHigherTierAvailable, "A higher tier is already available") \
V(kDetachedNativeContext, "The native context is detached") \
V(kNeverOptimize, "Optimization is always disabled")
#define V(Name)

Definition at line 121 of file bailout-reason.h.

◆ ERROR_MESSAGES_CONSTANTS

#define ERROR_MESSAGES_CONSTANTS ( C,
T )
Value:
C,

Definition at line 139 of file bailout-reason.h.