Review URL: https://codereview.chromium.org/
753503002
Cr-Commit-Position: refs/heads/master@{#25469}
// Determine whether double field unboxing feature is enabled.
#if (V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64)
-#define V8_DOUBLE_FIELDS_UNBOXING 0
+#define V8_DOUBLE_FIELDS_UNBOXING 1
#else
#define V8_DOUBLE_FIELDS_UNBOXING 0
#endif
#if V8_DOUBLE_FIELDS_UNBOXING
if (!may_contain_raw_values &&
- (has_only_tagged_fields || helper.IsTagged(src_slot - src_addr)))
+ (has_only_tagged_fields ||
+ helper.IsTagged(static_cast<int>(src_slot - src_addr))))
#else
if (!may_contain_raw_values)
#endif
if (!has_only_tagged_fields) {
for (Address slot = start_address; slot < end_address;
slot += kPointerSize) {
- if (helper.IsTagged(slot - obj_address)) {
+ if (helper.IsTagged(static_cast<int>(slot - obj_address))) {
// TODO(ishell): call this once for contiguous region
// of tagged fields.
FindPointersToNewSpaceInRegion(slot, slot + kPointerSize,
PROP_SMI,
PROP_DOUBLE,
PROP_TAGGED,
- PROP_KIND_NUMBER,
+ PROP_KIND_NUMBER
};
static Representation representations[PROP_KIND_NUMBER] = {