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

Side by Side Diff: src/objects.h

Issue 388193002: Unify LookupIterator::GetRoot and Objects::GetRootMap (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 5 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/lookup.cc ('k') | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 1563
1564 #ifdef OBJECT_PRINT 1564 #ifdef OBJECT_PRINT
1565 // For our gdb macros, we should perhaps change these in the future. 1565 // For our gdb macros, we should perhaps change these in the future.
1566 void Print(); 1566 void Print();
1567 1567
1568 // Prints this object with details. 1568 // Prints this object with details.
1569 void Print(OStream& os); // NOLINT 1569 void Print(OStream& os); // NOLINT
1570 #endif 1570 #endif
1571 1571
1572 private: 1572 private:
1573 friend class LookupIterator;
1573 friend class PrototypeIterator; 1574 friend class PrototypeIterator;
1574 1575
1575 // Return the map of the root of object's prototype chain. 1576 // Return the map of the root of object's prototype chain.
1576 Map* GetRootMap(Isolate* isolate); 1577 Map* GetRootMap(Isolate* isolate);
1577 1578
1578 DISALLOW_IMPLICIT_CONSTRUCTORS(Object); 1579 DISALLOW_IMPLICIT_CONSTRUCTORS(Object);
1579 }; 1580 };
1580 1581
1581 1582
1582 struct Brief { 1583 struct Brief {
(...skipping 9645 matching lines...) Expand 10 before | Expand all | Expand 10 after
11228 } else { 11229 } else {
11229 value &= ~(1 << bit_position); 11230 value &= ~(1 << bit_position);
11230 } 11231 }
11231 return value; 11232 return value;
11232 } 11233 }
11233 }; 11234 };
11234 11235
11235 } } // namespace v8::internal 11236 } } // namespace v8::internal
11236 11237
11237 #endif // V8_OBJECTS_H_ 11238 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/lookup.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698