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

Side by Side Diff: src/x87/macro-assembler-x87.h

Issue 1467923002: X87: Fix object initialization when slack tracking for it's map is still enabled. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/x87/builtins-x87.cc ('k') | src/x87/macro-assembler-x87.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 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 Register scratch2, Label* gc_required); 678 Register scratch2, Label* gc_required);
679 679
680 // Copy memory, byte-by-byte, from source to destination. Not optimized for 680 // Copy memory, byte-by-byte, from source to destination. Not optimized for
681 // long or aligned copies. 681 // long or aligned copies.
682 // The contents of index and scratch are destroyed. 682 // The contents of index and scratch are destroyed.
683 void CopyBytes(Register source, 683 void CopyBytes(Register source,
684 Register destination, 684 Register destination,
685 Register length, 685 Register length,
686 Register scratch); 686 Register scratch);
687 687
688 // Initialize fields with filler values. Fields starting at |start_offset| 688 // Initialize fields with filler values. Fields starting at |current_address|
689 // not including end_offset are overwritten with the value in |filler|. At 689 // not including |end_address| are overwritten with the value in |filler|. At
690 // the end the loop, |start_offset| takes the value of |end_offset|. 690 // the end the loop, |current_address| takes the value of |end_address|.
691 void InitializeFieldsWithFiller(Register start_offset, 691 void InitializeFieldsWithFiller(Register current_address,
692 Register end_offset, 692 Register end_address, Register filler);
693 Register filler);
694 693
695 // --------------------------------------------------------------------------- 694 // ---------------------------------------------------------------------------
696 // Support functions. 695 // Support functions.
697 696
698 // Check a boolean-bit of a Smi field. 697 // Check a boolean-bit of a Smi field.
699 void BooleanBitTest(Register object, int field_offset, int bit_index); 698 void BooleanBitTest(Register object, int field_offset, int bit_index);
700 699
701 // Check if result is zero and op is negative. 700 // Check if result is zero and op is negative.
702 void NegativeZeroTest(Register result, Register op, Label* then_label); 701 void NegativeZeroTest(Register result, Register op, Label* then_label);
703 702
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 masm-> 1085 masm->
1087 #else 1086 #else
1088 #define ACCESS_MASM(masm) masm-> 1087 #define ACCESS_MASM(masm) masm->
1089 #endif 1088 #endif
1090 1089
1091 1090
1092 } // namespace internal 1091 } // namespace internal
1093 } // namespace v8 1092 } // namespace v8
1094 1093
1095 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1094 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x87/builtins-x87.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698