| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index b865cecbd2424b6d74b6413ba7709ac36135b145..d132228249d3f5bf18064d216b66723c8aece1d6 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -124,7 +124,7 @@ bool LCodeGen::GeneratePrologue() {
|
|
|
| #ifdef DEBUG
|
| if (strlen(FLAG_stop_at) > 0 &&
|
| - info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
|
| + info_->function()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
|
| __ int3();
|
| }
|
| #endif
|
| @@ -2224,7 +2224,7 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
|
|
|
| __ JumpIfSmi(input, is_false);
|
|
|
| - if (class_name->IsEqualTo(CStrVector("Function"))) {
|
| + if (class_name->IsOneByteEqualTo(STATIC_ASCII_VECTOR("Function"))) {
|
| // Assuming the following assertions, we can use the same compares to test
|
| // for both being a function type and being in the object type range.
|
| STATIC_ASSERT(NUM_OF_CALLABLE_SPEC_OBJECT_TYPES == 2);
|
| @@ -2255,7 +2255,7 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
|
|
|
| // Objects with a non-function constructor have class 'Object'.
|
| __ CmpObjectType(temp, JS_FUNCTION_TYPE, kScratchRegister);
|
| - if (class_name->IsEqualTo(CStrVector("Object"))) {
|
| + if (class_name->IsOneByteEqualTo(STATIC_ASCII_VECTOR("Object"))) {
|
| __ j(not_equal, is_true);
|
| } else {
|
| __ j(not_equal, is_false);
|
| @@ -4247,7 +4247,7 @@ void LCodeGen::DoStringCharFromCode(LStringCharFromCode* instr) {
|
| Register result = ToRegister(instr->result());
|
| ASSERT(!char_code.is(result));
|
|
|
| - __ cmpl(char_code, Immediate(String::kMaxAsciiCharCode));
|
| + __ cmpl(char_code, Immediate(String::kMaxOneByteCharCode));
|
| __ j(above, deferred->entry());
|
| __ LoadRoot(result, Heap::kSingleCharacterStringCacheRootIndex);
|
| __ movq(result, FieldOperand(result,
|
|
|