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

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: Do not assume functions are compiled when specializing. 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
« no previous file with comments | « src/ic.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 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 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after
1843 // added this number can be indicated to have the backing store allocated to 1843 // added this number can be indicated to have the backing store allocated to
1844 // an initial capacity for holding these properties. 1844 // an initial capacity for holding these properties.
1845 MUST_USE_RESULT MaybeObject* NormalizeProperties( 1845 MUST_USE_RESULT MaybeObject* NormalizeProperties(
1846 PropertyNormalizationMode mode, 1846 PropertyNormalizationMode mode,
1847 int expected_additional_properties); 1847 int expected_additional_properties);
1848 1848
1849 // Convert and update the elements backing store to be a NumberDictionary 1849 // Convert and update the elements backing store to be a NumberDictionary
1850 // dictionary. Returns the backing after conversion. 1850 // dictionary. Returns the backing after conversion.
1851 MUST_USE_RESULT MaybeObject* NormalizeElements(); 1851 MUST_USE_RESULT MaybeObject* NormalizeElements();
1852 1852
1853 static void UpdateMapCodeCache(Isolate* isolate, 1853 static void UpdateMapCodeCache(Handle<JSObject> object,
1854 Handle<JSObject> object,
1855 Handle<String> name, 1854 Handle<String> name,
1856 Handle<Code> code); 1855 Handle<Code> code);
1857 1856
1858 MUST_USE_RESULT MaybeObject* UpdateMapCodeCache(String* name, Code* code); 1857 MUST_USE_RESULT MaybeObject* UpdateMapCodeCache(String* name, Code* code);
1859 1858
1860 // Transform slow named properties to fast variants. 1859 // Transform slow named properties to fast variants.
1861 // Returns failure if allocation failed. 1860 // Returns failure if allocation failed.
1862 MUST_USE_RESULT MaybeObject* TransformToFastProperties( 1861 MUST_USE_RESULT MaybeObject* TransformToFastProperties(
1863 int unused_property_fields); 1862 int unused_property_fields);
1864 1863
(...skipping 5800 matching lines...) Expand 10 before | Expand all | Expand 10 after
7665 } else { 7664 } else {
7666 value &= ~(1 << bit_position); 7665 value &= ~(1 << bit_position);
7667 } 7666 }
7668 return value; 7667 return value;
7669 } 7668 }
7670 }; 7669 };
7671 7670
7672 } } // namespace v8::internal 7671 } } // namespace v8::internal
7673 7672
7674 #endif // V8_OBJECTS_H_ 7673 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698