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

Side by Side Diff: src/heap.h

Issue 7025005: Removing white spaces introduced in r8142. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 6 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 | « no previous file | src/heap.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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 inline void RecordWrites(Address address, int start, int len); 1046 inline void RecordWrites(Address address, int start, int len);
1047 1047
1048 // Given an address occupied by a live code object, return that object. 1048 // Given an address occupied by a live code object, return that object.
1049 Object* FindCodeObject(Address a); 1049 Object* FindCodeObject(Address a);
1050 1050
1051 // Invoke Shrink on shrinkable spaces. 1051 // Invoke Shrink on shrinkable spaces.
1052 void Shrink(); 1052 void Shrink();
1053 1053
1054 enum HeapState { NOT_IN_GC, SCAVENGE, MARK_COMPACT }; 1054 enum HeapState { NOT_IN_GC, SCAVENGE, MARK_COMPACT };
1055 inline HeapState gc_state() { return gc_state_; } 1055 inline HeapState gc_state() { return gc_state_; }
1056 1056
1057 inline bool IsInGCPostProcessing() { return gc_post_processing_depth_ > 0; } 1057 inline bool IsInGCPostProcessing() { return gc_post_processing_depth_ > 0; }
1058 1058
1059 #ifdef DEBUG 1059 #ifdef DEBUG
1060 bool IsAllocationAllowed() { return allocation_allowed_; } 1060 bool IsAllocationAllowed() { return allocation_allowed_; }
1061 inline bool allow_allocation(bool enable); 1061 inline bool allow_allocation(bool enable);
1062 1062
1063 bool disallow_allocation_failure() { 1063 bool disallow_allocation_failure() {
1064 return disallow_allocation_failure_; 1064 return disallow_allocation_failure_;
1065 } 1065 }
1066 1066
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
2262 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2262 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2263 }; 2263 };
2264 #endif // DEBUG || LIVE_OBJECT_LIST 2264 #endif // DEBUG || LIVE_OBJECT_LIST
2265 2265
2266 2266
2267 } } // namespace v8::internal 2267 } } // namespace v8::internal
2268 2268
2269 #undef HEAP 2269 #undef HEAP
2270 2270
2271 #endif // V8_HEAP_H_ 2271 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698