| OLD | NEW |
| 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 5797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5808 // the ElementsKind set. | 5808 // the ElementsKind set. |
| 5809 static Handle<Map> TransitionElementsTo(Handle<Map> map, | 5809 static Handle<Map> TransitionElementsTo(Handle<Map> map, |
| 5810 ElementsKind to_kind); | 5810 ElementsKind to_kind); |
| 5811 | 5811 |
| 5812 static Handle<Map> AsElementsKind(Handle<Map> map, ElementsKind kind); | 5812 static Handle<Map> AsElementsKind(Handle<Map> map, ElementsKind kind); |
| 5813 | 5813 |
| 5814 static Handle<Map> CopyAsElementsKind(Handle<Map> map, | 5814 static Handle<Map> CopyAsElementsKind(Handle<Map> map, |
| 5815 ElementsKind kind, | 5815 ElementsKind kind, |
| 5816 TransitionFlag flag); | 5816 TransitionFlag flag); |
| 5817 | 5817 |
| 5818 static Handle<Map> AsLanguageMode(Handle<Map> initial_map, |
| 5819 LanguageMode language_mode); |
| 5820 |
| 5821 |
| 5818 static Handle<Map> CopyForObserved(Handle<Map> map); | 5822 static Handle<Map> CopyForObserved(Handle<Map> map); |
| 5819 | 5823 |
| 5820 static Handle<Map> CopyForPreventExtensions(Handle<Map> map, | 5824 static Handle<Map> CopyForPreventExtensions(Handle<Map> map, |
| 5821 PropertyAttributes attrs_to_add, | 5825 PropertyAttributes attrs_to_add, |
| 5822 Handle<Symbol> transition_marker, | 5826 Handle<Symbol> transition_marker, |
| 5823 const char* reason); | 5827 const char* reason); |
| 5824 | 5828 |
| 5825 static Handle<Map> FixProxy(Handle<Map> map, InstanceType type, int size); | 5829 static Handle<Map> FixProxy(Handle<Map> map, InstanceType type, int size); |
| 5826 | 5830 |
| 5827 | 5831 |
| (...skipping 4849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10677 } | 10681 } |
| 10678 return value; | 10682 return value; |
| 10679 } | 10683 } |
| 10680 }; | 10684 }; |
| 10681 | 10685 |
| 10682 | 10686 |
| 10683 } // NOLINT, false-positive due to second-order macros. | 10687 } // NOLINT, false-positive due to second-order macros. |
| 10684 } // NOLINT, false-positive due to second-order macros. | 10688 } // NOLINT, false-positive due to second-order macros. |
| 10685 | 10689 |
| 10686 #endif // V8_OBJECTS_H_ | 10690 #endif // V8_OBJECTS_H_ |
| OLD | NEW |