Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index f488718dc6dc818bfeb451b4c90bb45a2f0baa2e..28b0f4ad82f133b60f7c69c03e16b21f29e92f9e 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -779,7 +779,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
if (FLAG_debug_code) { |
__ cmp(ebx, masm->isolate()->factory()->the_hole_value()); |
- __ Assert(equal, "object found in smi-only array"); |
+ __ Assert(equal, kObjectFoundInSmiOnlyArray); |
} |
if (CpuFeatures::IsSupported(SSE2)) { |
@@ -1011,7 +1011,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. |
__ test(result, Immediate(kIsIndirectStringMask)); |
- __ Assert(zero, "external string expected, but not found"); |
+ __ Assert(zero, kExternalStringExpectedButNotFound); |
} |
// Rule out short external strings. |
STATIC_CHECK(kShortExternalStringTag != 0); |