v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
deoptimize-reason.h File Reference
Include dependency graph for deoptimize-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 DEOPTIMIZE_REASON_LIST(V)
 
#define DEOPTIMIZE_REASON(Name, message)
 
#define LAZY_DEOPTIMIZE_REASON_LIST(V)
 
#define LAZY_DEOPTIMIZE_REASON(Name, message)
 
#define SUM(_1, _2)
 

Enumerations

enum class  v8::internal::DeoptimizeReason : uint8_t { v8::internal::DEOPTIMIZE_REASON }
 
enum class  v8::internal::LazyDeoptimizeReason : uint8_t { v8::internal::LAZY_DEOPTIMIZE_REASON }
 

Functions

std::ostream & v8::internal::operator<< (std::ostream &os, DeoptimizeReason reason)
 
size_t v8::internal::hash_value (DeoptimizeReason reason)
 
char const * v8::internal::DeoptimizeReasonToString (DeoptimizeReason reason)
 
char const * v8::internal::DeoptimizeReasonToString (LazyDeoptimizeReason reason)
 
constexpr bool v8::internal::IsDeoptimizationWithoutCodeInvalidation (DeoptimizeReason reason)
 

Variables

constexpr DeoptimizeReason v8::internal::kFirstDeoptimizeReason
 
constexpr int v8::internal::kDeoptimizeReasonCount = 0 DEOPTIMIZE_REASON_LIST(SUM)
 
constexpr DeoptimizeReason v8::internal::kLastDeoptimizeReason
 

Macro Definition Documentation

◆ DEOPTIMIZE_REASON

#define DEOPTIMIZE_REASON ( Name,
message )
Value:
k##Name,

Definition at line 101 of file deoptimize-reason.h.

◆ DEOPTIMIZE_REASON_LIST

#define DEOPTIMIZE_REASON_LIST ( V)

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

◆ LAZY_DEOPTIMIZE_REASON

#define LAZY_DEOPTIMIZE_REASON ( Name,
message )
Value:
k##Name,

Definition at line 129 of file deoptimize-reason.h.

◆ LAZY_DEOPTIMIZE_REASON_LIST

#define LAZY_DEOPTIMIZE_REASON_LIST ( V)
Value:
V(MapDeprecated, "dependent map was deprecated") \
V(PrototypeChange, "dependent prototype chain changed") \
V(PropertyCellChange, "dependent property cell changed") \
V(FieldTypeConstChange, "dependent field type constness changed") \
V(FieldTypeChange, "dependent field type changed") \
V(FieldRepresentationChange, "dependent field representation changed") \
V(InitialMapChange, "dependent initial map changed") \
V(AllocationSiteTenuringChange, \
"dependent allocation site tenuring changed") \
V(AllocationSiteTransitionChange, \
"dependent allocation site transition changed") \
V(ScriptContextSlotPropertyChange, \
"dependent script context slot property changed") \
V(EmptyContextExtensionChange, "dependent empty context extension changed") \
V(WeakObjects, "embedded weak objects cleared") \
V(Debugger, "JS debugger attached") \
V(Testing, "for testing") \
V(ExceptionCaught, "exception with omitted catch handler") \
V(EagerDeopt, "marked due to eager deopt") \
V(FrameValueMaterialized, "value in stack frame was materialized")
#define V(Name)

Definition at line 106 of file deoptimize-reason.h.

◆ SUM

#define SUM ( _1,
_2 )
Value:
+1

Definition at line 136 of file deoptimize-reason.h.