Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index e6893cdc258658ab786083ae77fafd58d37b0dc2..3c43f230745e539046e24005c12bfa6ee05c725b 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -677,7 +677,7 @@ void Code::CodeVerify() { |
last_gc_pc = it.rinfo()->pc(); |
} |
} |
- CHECK(raw_type_feedback_info() == Smi::kZero || |
+ CHECK(raw_type_feedback_info() == Smi::FromInt(0) || |
raw_type_feedback_info()->IsSmi() == IsCodeStubOrIC()); |
} |
@@ -872,7 +872,7 @@ void JSArrayBufferView::JSArrayBufferViewVerify() { |
VerifyPointer(buffer()); |
Isolate* isolate = GetIsolate(); |
CHECK(buffer()->IsJSArrayBuffer() || buffer()->IsUndefined(isolate) || |
- buffer() == Smi::kZero); |
+ buffer() == Smi::FromInt(0)); |
VerifyPointer(raw_byte_offset()); |
CHECK(raw_byte_offset()->IsSmi() || raw_byte_offset()->IsHeapNumber() || |