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

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

Issue 7058009: Make InToSpace/InFromSpace use the page header. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Used Clear/Set macros more in SemiSpace::Flip Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 SaveFPRegsMode save_fp); 81 SaveFPRegsMode save_fp);
82 82
83 inline void CheckPageFlag( 83 inline void CheckPageFlag(
84 Register object, 84 Register object,
85 Register scratch, 85 Register scratch,
86 MemoryChunk::MemoryChunkFlags flag, 86 MemoryChunk::MemoryChunkFlags flag,
87 Condition cc, 87 Condition cc,
88 Label* condition_met, 88 Label* condition_met,
89 Label::Distance condition_met_distance = Label::kFar); 89 Label::Distance condition_met_distance = Label::kFar);
90 90
91
92 void InNewSpace(Register object,
93 Register scratch,
94 Condition cc,
95 Label* condition_met,
96 Label::Distance condition_met_distance = Label::kFar);
97
91 // Check if an object has a given incremental marking colour. Also uses ecx! 98 // Check if an object has a given incremental marking colour. Also uses ecx!
92 // The colour bits are found by splitting the address at the bit offset 99 // The colour bits are found by splitting the address at the bit offset
93 // indicated by the mask: bits that are zero in the mask are used for the 100 // indicated by the mask: bits that are zero in the mask are used for the
94 // address of the bitmap, and bits that are one in the mask are used for the 101 // address of the bitmap, and bits that are one in the mask are used for the
95 // index of the bit. 102 // index of the bit.
96 inline void HasColour(Register object, 103 inline void HasColour(Register object,
97 Register scratch0, 104 Register scratch0,
98 Register scratch1, 105 Register scratch1,
99 Label* has_colour, 106 Label* has_colour,
100 Label::Distance has_colour_distance, 107 Label::Distance has_colour_distance,
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 } \ 866 } \
860 masm-> 867 masm->
861 #else 868 #else
862 #define ACCESS_MASM(masm) masm-> 869 #define ACCESS_MASM(masm) masm->
863 #endif 870 #endif
864 871
865 872
866 } } // namespace v8::internal 873 } } // namespace v8::internal
867 874
868 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 875 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698