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

Side by Side Diff: src/incremental-marking.h

Issue 10907174: Fix invariant so that we cannot record relocation slots for (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 3 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/flag-definitions.h ('k') | src/incremental-marking.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 // 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 125 }
126 126
127 static void RecordWriteFromCode(HeapObject* obj, 127 static void RecordWriteFromCode(HeapObject* obj,
128 Object* value, 128 Object* value,
129 Isolate* isolate); 129 Isolate* isolate);
130 130
131 static void RecordWriteForEvacuationFromCode(HeapObject* obj, 131 static void RecordWriteForEvacuationFromCode(HeapObject* obj,
132 Object** slot, 132 Object** slot,
133 Isolate* isolate); 133 Isolate* isolate);
134 134
135 // Returns true if you need to record a slot.
Vyacheslav Egorov (Google) 2012/09/11 13:51:12 Enhance comment: record a slot for compation. Ret
135 INLINE(bool BaseRecordWrite(HeapObject* obj, Object** slot, Object* value)); 136 INLINE(bool BaseRecordWrite(HeapObject* obj, Object** slot, Object* value));
136 INLINE(void RecordWrite(HeapObject* obj, Object** slot, Object* value)); 137 INLINE(void RecordWrite(HeapObject* obj, Object** slot, Object* value));
137 INLINE(void RecordWriteIntoCode(HeapObject* obj, 138 INLINE(void RecordWriteIntoCode(HeapObject* obj,
138 RelocInfo* rinfo, 139 RelocInfo* rinfo,
139 Object* value)); 140 Object* value));
140 INLINE(void RecordWriteOfCodeEntry(JSFunction* host, 141 INLINE(void RecordWriteOfCodeEntry(JSFunction* host,
141 Object** slot, 142 Object** slot,
142 Code* value)); 143 Code* value));
143 144
144 145
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 intptr_t allocated_; 286 intptr_t allocated_;
286 287
287 int no_marking_scope_depth_; 288 int no_marking_scope_depth_;
288 289
289 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 290 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
290 }; 291 };
291 292
292 } } // namespace v8::internal 293 } } // namespace v8::internal
293 294
294 #endif // V8_INCREMENTAL_MARKING_H_ 295 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698