OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/ic-inl.h" | 10 #include "src/ic-inl.h" |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 Label do_store; | 576 Label do_store; |
577 while (true) { | 577 while (true) { |
578 __ CompareMap(value_reg, it.Current()); | 578 __ CompareMap(value_reg, it.Current()); |
579 it.Advance(); | 579 it.Advance(); |
580 if (it.Done()) { | 580 if (it.Done()) { |
581 __ j(not_equal, miss_label); | 581 __ j(not_equal, miss_label); |
582 break; | 582 break; |
583 } | 583 } |
584 __ j(equal, &do_store, Label::kNear); | 584 __ j(equal, &do_store, Label::kNear); |
585 } | 585 } |
| 586 __ bind(&do_store); |
586 | 587 |
587 StoreFieldStub stub(isolate(), lookup->GetFieldIndex(), | 588 StoreFieldStub stub(isolate(), lookup->GetFieldIndex(), |
588 lookup->representation()); | 589 lookup->representation()); |
589 GenerateTailCall(masm(), stub.GetCode()); | 590 GenerateTailCall(masm(), stub.GetCode()); |
590 } | 591 } |
591 | 592 |
592 | 593 |
593 Register PropertyHandlerCompiler::CheckPrototypes( | 594 Register PropertyHandlerCompiler::CheckPrototypes( |
594 Register object_reg, Register holder_reg, Register scratch1, | 595 Register object_reg, Register holder_reg, Register scratch1, |
595 Register scratch2, Handle<Name> name, Label* miss, | 596 Register scratch2, Handle<Name> name, Label* miss, |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 // ----------------------------------- | 1192 // ----------------------------------- |
1192 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1193 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
1193 } | 1194 } |
1194 | 1195 |
1195 | 1196 |
1196 #undef __ | 1197 #undef __ |
1197 | 1198 |
1198 } } // namespace v8::internal | 1199 } } // namespace v8::internal |
1199 | 1200 |
1200 #endif // V8_TARGET_ARCH_X87 | 1201 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |