| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index ff9caa527c5649ba12481ad1bc132a342467376e..ecc052291a471a30773d4e138ff14a6b0e0a5748 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -3312,7 +3312,7 @@ void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
|
| if (function.is_identical_to(info()->closure())) {
|
| __ CallSelf();
|
| } else {
|
| - __ call(FieldOperand(rdi, JSFunction::kCodeEntryOffset));
|
| + __ Call(FieldOperand(rdi, JSFunction::kCodeEntryOffset));
|
| }
|
|
|
| // Set up deoptimization.
|
| @@ -3377,7 +3377,7 @@ void LCodeGen::DoCallJSFunction(LCallJSFunction* instr) {
|
| } else {
|
| Operand target = FieldOperand(rdi, JSFunction::kCodeEntryOffset);
|
| generator.BeforeCall(__ CallSize(target));
|
| - __ call(target);
|
| + __ Call(target);
|
| }
|
| generator.AfterCall();
|
| }
|
| @@ -3855,7 +3855,6 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) {
|
| Register value = ToRegister(instr->value());
|
| if (instr->object()->IsConstantOperand()) {
|
| ASSERT(value.is(rax));
|
| - ASSERT(!access.representation().IsSpecialization());
|
| LConstantOperand* object = LConstantOperand::cast(instr->object());
|
| __ store_rax(ToExternalReference(object));
|
| } else {
|
| @@ -3929,6 +3928,10 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) {
|
| if (representation.IsSmi() &&
|
| hinstr->value()->representation().IsInteger32()) {
|
| ASSERT(hinstr->store_mode() == STORE_TO_INITIALIZED_ENTRY);
|
| +#ifdef DEBUG
|
| + __ movq(kScratchRegister, FieldOperand(write_register, offset));
|
| + __ AssertSmi(kScratchRegister);
|
| +#endif
|
| // Store int value directly to upper half of the smi.
|
| STATIC_ASSERT(kSmiTag == 0);
|
| STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 32);
|
|
|