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

Side by Side Diff: src/objects.h

Issue 15660005: Don't use fast literal if the boilerplate map is still deprecated. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('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 // 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 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 inline int LastAddedFieldIndex(); 1836 inline int LastAddedFieldIndex();
1837 1837
1838 // Extend the receiver with a single fast property appeared first in the 1838 // Extend the receiver with a single fast property appeared first in the
1839 // passed map. This also extends the property backing store if necessary. 1839 // passed map. This also extends the property backing store if necessary.
1840 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map); 1840 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map);
1841 inline MUST_USE_RESULT MaybeObject* AllocateStorageForMap(Map* map); 1841 inline MUST_USE_RESULT MaybeObject* AllocateStorageForMap(Map* map);
1842 1842
1843 static void MigrateInstance(Handle<JSObject> instance); 1843 static void MigrateInstance(Handle<JSObject> instance);
1844 inline MUST_USE_RESULT MaybeObject* MigrateInstance(); 1844 inline MUST_USE_RESULT MaybeObject* MigrateInstance();
1845 1845
1846 static Handle<Object> TryMigrateInstance(Handle<JSObject> instance);
1847 inline MUST_USE_RESULT MaybeObject* TryMigrateInstance();
1848
1846 // Can cause GC. 1849 // Can cause GC.
1847 MUST_USE_RESULT MaybeObject* SetLocalPropertyIgnoreAttributes( 1850 MUST_USE_RESULT MaybeObject* SetLocalPropertyIgnoreAttributes(
1848 Name* key, 1851 Name* key,
1849 Object* value, 1852 Object* value,
1850 PropertyAttributes attributes); 1853 PropertyAttributes attributes);
1851 1854
1852 // Retrieve a value in a normalized object given a lookup result. 1855 // Retrieve a value in a normalized object given a lookup result.
1853 // Handles the special representation of JS global objects. 1856 // Handles the special representation of JS global objects.
1854 Object* GetNormalizedProperty(LookupResult* result); 1857 Object* GetNormalizedProperty(LookupResult* result);
1855 1858
(...skipping 7759 matching lines...) Expand 10 before | Expand all | Expand 10 after
9615 } else { 9618 } else {
9616 value &= ~(1 << bit_position); 9619 value &= ~(1 << bit_position);
9617 } 9620 }
9618 return value; 9621 return value;
9619 } 9622 }
9620 }; 9623 };
9621 9624
9622 } } // namespace v8::internal 9625 } } // namespace v8::internal
9623 9626
9624 #endif // V8_OBJECTS_H_ 9627 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698