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

Side by Side Diff: src/objects.h

Issue 8357010: Handlify the stub cache lookup and patching for CallIC and KeyedCallIC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1837 // added this number can be indicated to have the backing store allocated to 1837 // added this number can be indicated to have the backing store allocated to
1838 // an initial capacity for holding these properties. 1838 // an initial capacity for holding these properties.
1839 MUST_USE_RESULT MaybeObject* NormalizeProperties( 1839 MUST_USE_RESULT MaybeObject* NormalizeProperties(
1840 PropertyNormalizationMode mode, 1840 PropertyNormalizationMode mode,
1841 int expected_additional_properties); 1841 int expected_additional_properties);
1842 1842
1843 // Convert and update the elements backing store to be a NumberDictionary 1843 // Convert and update the elements backing store to be a NumberDictionary
1844 // dictionary. Returns the backing after conversion. 1844 // dictionary. Returns the backing after conversion.
1845 MUST_USE_RESULT MaybeObject* NormalizeElements(); 1845 MUST_USE_RESULT MaybeObject* NormalizeElements();
1846 1846
1847 static void UpdateMapCodeCache(Isolate* isolate, 1847 static void UpdateMapCodeCache(Handle<JSObject> object,
1848 Handle<JSObject> object,
1849 Handle<String> name, 1848 Handle<String> name,
1850 Handle<Code> code); 1849 Handle<Code> code);
1851 1850
1852 MUST_USE_RESULT MaybeObject* UpdateMapCodeCache(String* name, Code* code); 1851 MUST_USE_RESULT MaybeObject* UpdateMapCodeCache(String* name, Code* code);
1853 1852
1854 // Transform slow named properties to fast variants. 1853 // Transform slow named properties to fast variants.
1855 // Returns failure if allocation failed. 1854 // Returns failure if allocation failed.
1856 MUST_USE_RESULT MaybeObject* TransformToFastProperties( 1855 MUST_USE_RESULT MaybeObject* TransformToFastProperties(
1857 int unused_property_fields); 1856 int unused_property_fields);
1858 1857
(...skipping 5791 matching lines...) Expand 10 before | Expand all | Expand 10 after
7650 } else { 7649 } else {
7651 value &= ~(1 << bit_position); 7650 value &= ~(1 << bit_position);
7652 } 7651 }
7653 return value; 7652 return value;
7654 } 7653 }
7655 }; 7654 };
7656 7655
7657 } } // namespace v8::internal 7656 } } // namespace v8::internal
7658 7657
7659 #endif // V8_OBJECTS_H_ 7658 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698