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

Side by Side Diff: src/objects.h

Issue 8082023: Fix map modification in transition tree traversal. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment by Vyacheslav Egorov. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/objects.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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 1120
1121 1121
1122 // HeapObject is the superclass for all classes describing heap allocated 1122 // HeapObject is the superclass for all classes describing heap allocated
1123 // objects. 1123 // objects.
1124 class HeapObject: public Object { 1124 class HeapObject: public Object {
1125 public: 1125 public:
1126 // [map]: Contains a map which contains the object's reflective 1126 // [map]: Contains a map which contains the object's reflective
1127 // information. 1127 // information.
1128 inline Map* map(); 1128 inline Map* map();
1129 inline void set_map(Map* value); 1129 inline void set_map(Map* value);
1130 inline void set_map_unsafe(Map* value);
1130 1131
1131 // During garbage collection, the map word of a heap object does not 1132 // During garbage collection, the map word of a heap object does not
1132 // necessarily contain a map pointer. 1133 // necessarily contain a map pointer.
1133 inline MapWord map_word(); 1134 inline MapWord map_word();
1134 inline void set_map_word(MapWord map_word); 1135 inline void set_map_word(MapWord map_word);
1135 1136
1136 // The Heap the object was allocated in. Used also to access Isolate. 1137 // The Heap the object was allocated in. Used also to access Isolate.
1137 inline Heap* GetHeap(); 1138 inline Heap* GetHeap();
1138 1139
1139 // Convenience method to get current isolate. This method can be 1140 // Convenience method to get current isolate. This method can be
(...skipping 6428 matching lines...) Expand 10 before | Expand all | Expand 10 after
7568 } else { 7569 } else {
7569 value &= ~(1 << bit_position); 7570 value &= ~(1 << bit_position);
7570 } 7571 }
7571 return value; 7572 return value;
7572 } 7573 }
7573 }; 7574 };
7574 7575
7575 } } // namespace v8::internal 7576 } } // namespace v8::internal
7576 7577
7577 #endif // V8_OBJECTS_H_ 7578 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698