summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/opcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/opcodes.h')
-rw-r--r--deps/v8/src/compiler/opcodes.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/opcodes.h b/deps/v8/src/compiler/opcodes.h
index 5ac2012350..fdbe001de3 100644
--- a/deps/v8/src/compiler/opcodes.h
+++ b/deps/v8/src/compiler/opcodes.h
@@ -7,6 +7,8 @@
#include <iosfwd>
+#include "src/globals.h"
+
// Opcodes for control operators.
#define CONTROL_OP_LIST(V) \
V(Start) \
@@ -39,6 +41,7 @@
V(Float64Constant) \
V(ExternalConstant) \
V(NumberConstant) \
+ V(PointerConstant) \
V(HeapConstant) \
V(RelocatableInt32Constant) \
V(RelocatableInt64Constant)
@@ -55,9 +58,11 @@
V(StateValues) \
V(TypedStateValues) \
V(ObjectState) \
+ V(TypedObjectState) \
V(Call) \
V(Parameter) \
V(OsrValue) \
+ V(OsrGuard) \
V(LoopExit) \
V(LoopExitValue) \
V(LoopExitEffect) \
@@ -123,6 +128,7 @@
V(JSCreateArray) \
V(JSCreateClosure) \
V(JSCreateIterResultObject) \
+ V(JSCreateKeyValueArray) \
V(JSCreateLiteralArray) \
V(JSCreateLiteralObject) \
V(JSCreateLiteralRegExp) \
@@ -155,6 +161,8 @@
V(JSForInPrepare) \
V(JSLoadMessage) \
V(JSStoreMessage) \
+ V(JSLoadModule) \
+ V(JSStoreModule) \
V(JSGeneratorStore) \
V(JSGeneratorRestoreContinuation) \
V(JSGeneratorRestoreRegister) \
@@ -177,6 +185,7 @@
V(ChangeInt32ToTagged) \
V(ChangeUint32ToTagged) \
V(ChangeFloat64ToTagged) \
+ V(ChangeFloat64ToTaggedPointer) \
V(ChangeTaggedToBit) \
V(ChangeBitToTagged) \
V(TruncateTaggedToWord32) \
@@ -199,7 +208,8 @@
V(CheckedTaggedToInt32) \
V(CheckedTruncateTaggedToWord32) \
V(CheckedTaggedToFloat64) \
- V(CheckedTaggedToTaggedSigned)
+ V(CheckedTaggedToTaggedSigned) \
+ V(CheckedTaggedToTaggedPointer)
#define SIMPLIFIED_COMPARE_BINOP_LIST(V) \
V(NumberEqual) \
@@ -276,6 +286,7 @@
V(NumberToBoolean) \
V(NumberToInt32) \
V(NumberToUint32) \
+ V(NumberToUint8Clamped) \
V(NumberSilenceNaN)
#define SIMPLIFIED_OTHER_OP_LIST(V) \
@@ -724,7 +735,7 @@ namespace compiler {
// Declare an enumeration with all the opcodes at all levels so that they
// can be globally, uniquely numbered.
-class IrOpcode {
+class V8_EXPORT_PRIVATE IrOpcode {
public:
enum Value {
#define DECLARE_OPCODE(x) k##x,
@@ -784,7 +795,7 @@ class IrOpcode {
}
};
-std::ostream& operator<<(std::ostream&, IrOpcode::Value);
+V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
} // namespace compiler
} // namespace internal