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

Side by Side Diff: src/assembler.h

Issue 3615009: Parallelize marking phase of mark-sweep/compact collection cycle. (Closed)
Patch Set: Created 10 years, 2 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/arm/assembler-arm-inl.h ('k') | src/atomic.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Read/modify the address of a call instruction. This is used to relocate 280 // Read/modify the address of a call instruction. This is used to relocate
281 // the break points where straight-line code is patched with a call 281 // the break points where straight-line code is patched with a call
282 // instruction. 282 // instruction.
283 INLINE(Address call_address()); 283 INLINE(Address call_address());
284 INLINE(void set_call_address(Address target)); 284 INLINE(void set_call_address(Address target));
285 INLINE(Object* call_object()); 285 INLINE(Object* call_object());
286 INLINE(void set_call_object(Object* target)); 286 INLINE(void set_call_object(Object* target));
287 INLINE(Object** call_object_address()); 287 INLINE(Object** call_object_address());
288 288
289 template<typename StaticVisitor> inline void Visit(); 289 template<typename StaticVisitor> inline void Visit();
290 template<typename StaticVisitor, typename Data> inline void Visit(Data data);
290 inline void Visit(ObjectVisitor* v); 291 inline void Visit(ObjectVisitor* v);
291 292
292 // Patch the code with some other code. 293 // Patch the code with some other code.
293 void PatchCode(byte* instructions, int instruction_count); 294 void PatchCode(byte* instructions, int instruction_count);
294 295
295 // Patch the code with a call. 296 // Patch the code with a call.
296 void PatchCodeWithCall(Address target, int guard_bytes); 297 void PatchCodeWithCall(Address target, int guard_bytes);
297 298
298 // Check whether this return sequence has been patched 299 // Check whether this return sequence has been patched
299 // with a call to the debugger. 300 // with a call to the debugger.
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 unsigned int num_bits_set; 617 unsigned int num_bits_set;
617 for (num_bits_set = 0; x; x >>= 1) { 618 for (num_bits_set = 0; x; x >>= 1) {
618 num_bits_set += x & 1; 619 num_bits_set += x & 1;
619 } 620 }
620 return num_bits_set; 621 return num_bits_set;
621 } 622 }
622 623
623 } } // namespace v8::internal 624 } } // namespace v8::internal
624 625
625 #endif // V8_ASSEMBLER_H_ 626 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm-inl.h ('k') | src/atomic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698