Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/x87/code-stubs-x87.cc

Issue 1608583002: New page local store buffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase and fix signed unsigned conversion Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | test/cctest/test-unboxed-doubles.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 3710 matching lines...) Expand 10 before | Expand all | Expand 10 after
3721 regs_.Save(masm); 3721 regs_.Save(masm);
3722 3722
3723 if (remembered_set_action() == EMIT_REMEMBERED_SET) { 3723 if (remembered_set_action() == EMIT_REMEMBERED_SET) {
3724 Label dont_need_remembered_set; 3724 Label dont_need_remembered_set;
3725 3725
3726 __ mov(regs_.scratch0(), Operand(regs_.address(), 0)); 3726 __ mov(regs_.scratch0(), Operand(regs_.address(), 0));
3727 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. 3727 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value.
3728 regs_.scratch0(), 3728 regs_.scratch0(),
3729 &dont_need_remembered_set); 3729 &dont_need_remembered_set);
3730 3730
3731 __ CheckPageFlag(regs_.object(), 3731 __ JumpIfInNewSpace(regs_.object(), regs_.scratch0(),
3732 regs_.scratch0(), 3732 &dont_need_remembered_set);
3733 1 << MemoryChunk::SCAN_ON_SCAVENGE,
3734 not_zero,
3735 &dont_need_remembered_set);
3736 3733
3737 // First notify the incremental marker if necessary, then update the 3734 // First notify the incremental marker if necessary, then update the
3738 // remembered set. 3735 // remembered set.
3739 CheckNeedsToInformIncrementalMarker( 3736 CheckNeedsToInformIncrementalMarker(
3740 masm, 3737 masm,
3741 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, 3738 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker,
3742 mode); 3739 mode);
3743 InformIncrementalMarker(masm); 3740 InformIncrementalMarker(masm);
3744 regs_.Restore(masm); 3741 regs_.Restore(masm);
3745 __ RememberedSetHelper(object(), address(), value(), save_fp_regs_mode(), 3742 __ RememberedSetHelper(object(), address(), value(), save_fp_regs_mode(),
(...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
5425 return_value_operand, NULL); 5422 return_value_operand, NULL);
5426 } 5423 }
5427 5424
5428 5425
5429 #undef __ 5426 #undef __
5430 5427
5431 } // namespace internal 5428 } // namespace internal
5432 } // namespace v8 5429 } // namespace v8
5433 5430
5434 #endif // V8_TARGET_ARCH_X87 5431 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | test/cctest/test-unboxed-doubles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698