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

Side by Side Diff: src/objects.h

Issue 1130073005: Revert of Migrate error messages, part 10. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « src/messages.js ('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 <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 MUST_USE_RESULT static Maybe<PropertyAttributes> GetPropertyAttributes( 1663 MUST_USE_RESULT static Maybe<PropertyAttributes> GetPropertyAttributes(
1664 LookupIterator* it); 1664 LookupIterator* it);
1665 MUST_USE_RESULT static Maybe<PropertyAttributes> GetOwnPropertyAttributes( 1665 MUST_USE_RESULT static Maybe<PropertyAttributes> GetOwnPropertyAttributes(
1666 Handle<JSReceiver> object, Handle<Name> name); 1666 Handle<JSReceiver> object, Handle<Name> name);
1667 1667
1668 MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetElementAttribute( 1668 MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetElementAttribute(
1669 Handle<JSReceiver> object, uint32_t index); 1669 Handle<JSReceiver> object, uint32_t index);
1670 MUST_USE_RESULT static inline Maybe<PropertyAttributes> 1670 MUST_USE_RESULT static inline Maybe<PropertyAttributes>
1671 GetOwnElementAttribute(Handle<JSReceiver> object, uint32_t index); 1671 GetOwnElementAttribute(Handle<JSReceiver> object, uint32_t index);
1672 1672
1673 static Handle<Object> GetDataProperty(Handle<JSReceiver> object,
1674 Handle<Name> key);
1675 static Handle<Object> GetDataProperty(LookupIterator* it);
1676
1677
1678 // Retrieves a permanent object identity hash code. The undefined value might 1673 // Retrieves a permanent object identity hash code. The undefined value might
1679 // be returned in case no hash was created yet. 1674 // be returned in case no hash was created yet.
1680 inline Object* GetIdentityHash(); 1675 inline Object* GetIdentityHash();
1681 1676
1682 // Retrieves a permanent object identity hash code. May create and store a 1677 // Retrieves a permanent object identity hash code. May create and store a
1683 // hash code if needed and none exists. 1678 // hash code if needed and none exists.
1684 inline static Handle<Smi> GetOrCreateIdentityHash( 1679 inline static Handle<Smi> GetOrCreateIdentityHash(
1685 Handle<JSReceiver> object); 1680 Handle<JSReceiver> object);
1686 1681
1687 enum KeyCollectionType { OWN_ONLY, INCLUDE_PROTOS }; 1682 enum KeyCollectionType { OWN_ONLY, INCLUDE_PROTOS };
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
2164 2159
2165 static Handle<JSObject> Copy(Handle<JSObject> object); 2160 static Handle<JSObject> Copy(Handle<JSObject> object);
2166 MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy( 2161 MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy(
2167 Handle<JSObject> object, 2162 Handle<JSObject> object,
2168 AllocationSiteUsageContext* site_context, 2163 AllocationSiteUsageContext* site_context,
2169 DeepCopyHints hints = kNoHints); 2164 DeepCopyHints hints = kNoHints);
2170 MUST_USE_RESULT static MaybeHandle<JSObject> DeepWalk( 2165 MUST_USE_RESULT static MaybeHandle<JSObject> DeepWalk(
2171 Handle<JSObject> object, 2166 Handle<JSObject> object,
2172 AllocationSiteCreationContext* site_context); 2167 AllocationSiteCreationContext* site_context);
2173 2168
2169 static Handle<Object> GetDataProperty(Handle<JSObject> object,
2170 Handle<Name> key);
2171 static Handle<Object> GetDataProperty(LookupIterator* it);
2172
2174 DECLARE_CAST(JSObject) 2173 DECLARE_CAST(JSObject)
2175 2174
2176 // Dispatched behavior. 2175 // Dispatched behavior.
2177 void JSObjectShortPrint(StringStream* accumulator); 2176 void JSObjectShortPrint(StringStream* accumulator);
2178 DECLARE_PRINTER(JSObject) 2177 DECLARE_PRINTER(JSObject)
2179 DECLARE_VERIFIER(JSObject) 2178 DECLARE_VERIFIER(JSObject)
2180 #ifdef OBJECT_PRINT 2179 #ifdef OBJECT_PRINT
2181 void PrintProperties(std::ostream& os); // NOLINT 2180 void PrintProperties(std::ostream& os); // NOLINT
2182 void PrintElements(std::ostream& os); // NOLINT 2181 void PrintElements(std::ostream& os); // NOLINT
2183 #endif 2182 #endif
(...skipping 8918 matching lines...) Expand 10 before | Expand all | Expand 10 after
11102 } else { 11101 } else {
11103 value &= ~(1 << bit_position); 11102 value &= ~(1 << bit_position);
11104 } 11103 }
11105 return value; 11104 return value;
11106 } 11105 }
11107 }; 11106 };
11108 11107
11109 } } // namespace v8::internal 11108 } } // namespace v8::internal
11110 11109
11111 #endif // V8_OBJECTS_H_ 11110 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698