summaryrefslogtreecommitdiff
path: root/deps/v8/src/codegen/ppc/constants-ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/codegen/ppc/constants-ppc.h')
-rw-r--r--deps/v8/src/codegen/ppc/constants-ppc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/codegen/ppc/constants-ppc.h b/deps/v8/src/codegen/ppc/constants-ppc.h
index f6ebc6a7ba..2e499fd2c4 100644
--- a/deps/v8/src/codegen/ppc/constants-ppc.h
+++ b/deps/v8/src/codegen/ppc/constants-ppc.h
@@ -60,6 +60,12 @@ namespace internal {
// TODO(sigurds): Change this value once we use relative jumps.
constexpr size_t kMaxPCRelativeCodeRangeInMB = 0;
+// Used to encode a boolean value when emitting 32 bit
+// opcodes which will indicate the presence of function descriptors
+constexpr int kHasFunctionDescriptorBitShift = 9;
+constexpr int kHasFunctionDescriptorBitMask = 1
+ << kHasFunctionDescriptorBitShift;
+
// Number of registers
const int kNumRegisters = 32;