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

Side by Side Diff: src/objects.h

Issue 390323002: Remove JSReceiver::GetPrototype and replace it with PrototypeIterator calls (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/json-stringifier.h ('k') | 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 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 1971 matching lines...) Expand 10 before | Expand all | Expand 10 after
1982 Handle<JSReceiver> object, 1982 Handle<JSReceiver> object,
1983 Handle<Name> name); 1983 Handle<Name> name);
1984 1984
1985 static inline PropertyAttributes GetElementAttribute( 1985 static inline PropertyAttributes GetElementAttribute(
1986 Handle<JSReceiver> object, 1986 Handle<JSReceiver> object,
1987 uint32_t index); 1987 uint32_t index);
1988 static inline PropertyAttributes GetOwnElementAttribute( 1988 static inline PropertyAttributes GetOwnElementAttribute(
1989 Handle<JSReceiver> object, 1989 Handle<JSReceiver> object,
1990 uint32_t index); 1990 uint32_t index);
1991 1991
1992 // Return the object's prototype (might be Heap::null_value()).
1993 inline Object* GetPrototype() const;
1994
1995 // Return the constructor function (may be Heap::null_value()). 1992 // Return the constructor function (may be Heap::null_value()).
1996 inline Object* GetConstructor(); 1993 inline Object* GetConstructor();
1997 1994
1998 // Retrieves a permanent object identity hash code. The undefined value might 1995 // Retrieves a permanent object identity hash code. The undefined value might
1999 // be returned in case no hash was created yet. 1996 // be returned in case no hash was created yet.
2000 inline Object* GetIdentityHash(); 1997 inline Object* GetIdentityHash();
2001 1998
2002 // Retrieves a permanent object identity hash code. May create and store a 1999 // Retrieves a permanent object identity hash code. May create and store a
2003 // hash code if needed and none exists. 2000 // hash code if needed and none exists.
2004 inline static Handle<Smi> GetOrCreateIdentityHash( 2001 inline static Handle<Smi> GetOrCreateIdentityHash(
(...skipping 9222 matching lines...) Expand 10 before | Expand all | Expand 10 after
11227 } else { 11224 } else {
11228 value &= ~(1 << bit_position); 11225 value &= ~(1 << bit_position);
11229 } 11226 }
11230 return value; 11227 return value;
11231 } 11228 }
11232 }; 11229 };
11233 11230
11234 } } // namespace v8::internal 11231 } } // namespace v8::internal
11235 11232
11236 #endif // V8_OBJECTS_H_ 11233 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/json-stringifier.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698