Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index a823bf2e6d0ce6e7a919b271cda30a1a04accca5..a39f14b075733f1fd3ae1a507088631cfcaa9c3f 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -394,7 +394,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
if (FLAG_debug_code) { |
__ CompareRoot(rbx, Heap::kTheHoleValueRootIndex); |
- __ Assert(equal, "object found in smi-only array"); |
+ __ Assert(equal, kObjectFoundInSmiOnlyArray); |
} |
__ movq(FieldOperand(r14, r9, times_8, FixedDoubleArray::kHeaderSize), r15); |
@@ -577,7 +577,7 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, |
// Assert that we do not have a cons or slice (indirect strings) here. |
// Sequential strings have already been ruled out. |
__ testb(result, Immediate(kIsIndirectStringMask)); |
- __ Assert(zero, "external string expected, but not found"); |
+ __ Assert(zero, kExternalStringExpectedButNotFound); |
} |
// Rule out short external strings. |
STATIC_CHECK(kShortExternalStringTag != 0); |