/*
- * Copyright (C) 2012, 2013, 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2012-2015 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
#define NodeMustGenerate 0x0008 // set on nodes that have side effects, and may not trivially be removed by DCE.
#define NodeHasVarArgs 0x0010
-#define NodeClobbersWorld 0x0020
-#define NodeMightClobber 0x0040
+// 0x0020 and 0x0040 are free.
#define NodeBehaviorMask 0x0780
#define NodeMayOverflowInBaseline 0x0080
#define NodeArithFlagsMask (NodeBehaviorMask | NodeBytecodeBackPropMask)
-#define NodeDoesNotExit 0x10000 // This flag is negated to make it natural for the default to be that a node does exit.
+#define NodeIsFlushed 0x10000 // Computed by CPSRethreadingPhase, will tell you which local nodes are backwards-reachable from a Flush.
-#define NodeRelevantToOSR 0x20000
-
-#define NodeIsFlushed 0x40000 // Used by Graph::computeIsFlushed(), will tell you which local nodes are backwards-reachable from a Flush.
+#define NodeMiscFlag1 0x20000
+#define NodeMiscFlag2 0x40000
+#define NodeMiscFlag3 0x80000
typedef uint32_t NodeFlags;
static inline bool nodeMayOverflow(NodeFlags flags, RareCaseProfilingSource source)
{
- NodeFlags mask;
+ NodeFlags mask = 0;
switch (source) {
case BaselineRareCase:
mask = NodeMayOverflowInBaseline;
static inline bool nodeMayNegZero(NodeFlags flags, RareCaseProfilingSource source)
{
- NodeFlags mask;
+ NodeFlags mask = 0;
switch (source) {
case BaselineRareCase:
mask = NodeMayNegZeroInBaseline;