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

Side by Side Diff: src/objects.h

Issue 2014343004: [runtime] Allow generic allocation of sloppy arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/heap/heap.cc ('k') | src/objects-inl.h » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 5690 matching lines...) Expand 10 before | Expand all | Expand 10 after
5701 5701
5702 // Tells whether the instance has fast elements that are only Smis. 5702 // Tells whether the instance has fast elements that are only Smis.
5703 inline bool has_fast_smi_elements(); 5703 inline bool has_fast_smi_elements();
5704 5704
5705 // Tells whether the instance has fast elements. 5705 // Tells whether the instance has fast elements.
5706 inline bool has_fast_object_elements(); 5706 inline bool has_fast_object_elements();
5707 inline bool has_fast_smi_or_object_elements(); 5707 inline bool has_fast_smi_or_object_elements();
5708 inline bool has_fast_double_elements(); 5708 inline bool has_fast_double_elements();
5709 inline bool has_fast_elements(); 5709 inline bool has_fast_elements();
5710 inline bool has_sloppy_arguments_elements(); 5710 inline bool has_sloppy_arguments_elements();
5711 inline bool has_fast_sloppy_arguments_elements();
5711 inline bool has_fast_string_wrapper_elements(); 5712 inline bool has_fast_string_wrapper_elements();
5712 inline bool has_fixed_typed_array_elements(); 5713 inline bool has_fixed_typed_array_elements();
5713 inline bool has_dictionary_elements(); 5714 inline bool has_dictionary_elements();
5714 5715
5715 static bool IsValidElementsTransition(ElementsKind from_kind, 5716 static bool IsValidElementsTransition(ElementsKind from_kind,
5716 ElementsKind to_kind); 5717 ElementsKind to_kind);
5717 5718
5718 // Returns true if the current map doesn't have DICTIONARY_ELEMENTS but if a 5719 // Returns true if the current map doesn't have DICTIONARY_ELEMENTS but if a
5719 // map with DICTIONARY_ELEMENTS was found in the prototype chain. 5720 // map with DICTIONARY_ELEMENTS was found in the prototype chain.
5720 bool DictionaryElementsInPrototypeChainOnly(); 5721 bool DictionaryElementsInPrototypeChainOnly();
(...skipping 5064 matching lines...) Expand 10 before | Expand all | Expand 10 after
10785 } 10786 }
10786 return value; 10787 return value;
10787 } 10788 }
10788 }; 10789 };
10789 10790
10790 10791
10791 } // NOLINT, false-positive due to second-order macros. 10792 } // NOLINT, false-positive due to second-order macros.
10792 } // NOLINT, false-positive due to second-order macros. 10793 } // NOLINT, false-positive due to second-order macros.
10793 10794
10794 #endif // V8_OBJECTS_H_ 10795 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698