| 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/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 3502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3513 | 3513 |
| 3514 __ bind(¬_in_dictionary); | 3514 __ bind(¬_in_dictionary); |
| 3515 __ mov(result(), Immediate(0)); | 3515 __ mov(result(), Immediate(0)); |
| 3516 __ Drop(1); | 3516 __ Drop(1); |
| 3517 __ ret(2 * kPointerSize); | 3517 __ ret(2 * kPointerSize); |
| 3518 } | 3518 } |
| 3519 | 3519 |
| 3520 | 3520 |
| 3521 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( | 3521 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( |
| 3522 Isolate* isolate) { | 3522 Isolate* isolate) { |
| 3523 StoreBufferOverflowStub stub(isolate); | 3523 StoreBufferOverflowStub stub(isolate, kDontSaveFPRegs); |
| 3524 stub.GetCode(); | 3524 stub.GetCode(); |
| 3525 } | 3525 } |
| 3526 | 3526 |
| 3527 | 3527 |
| 3528 // Takes the input in 3 registers: address_ value_ and object_. A pointer to | 3528 // Takes the input in 3 registers: address_ value_ and object_. A pointer to |
| 3529 // the value has just been written into the object, now this stub makes sure | 3529 // the value has just been written into the object, now this stub makes sure |
| 3530 // we keep the GC informed. The word in the object where the value has been | 3530 // we keep the GC informed. The word in the object where the value has been |
| 3531 // written is in the address register. | 3531 // written is in the address register. |
| 3532 void RecordWriteStub::Generate(MacroAssembler* masm) { | 3532 void RecordWriteStub::Generate(MacroAssembler* masm) { |
| 3533 Label skip_to_incremental_noncompacting; | 3533 Label skip_to_incremental_noncompacting; |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4323 Operand(ebp, 7 * kPointerSize), | 4323 Operand(ebp, 7 * kPointerSize), |
| 4324 NULL); | 4324 NULL); |
| 4325 } | 4325 } |
| 4326 | 4326 |
| 4327 | 4327 |
| 4328 #undef __ | 4328 #undef __ |
| 4329 | 4329 |
| 4330 } } // namespace v8::internal | 4330 } } // namespace v8::internal |
| 4331 | 4331 |
| 4332 #endif // V8_TARGET_ARCH_X87 | 4332 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |