| OLD | NEW |
| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 V(Smi, real_stack_limit, RealStackLimit) \ | 181 V(Smi, real_stack_limit, RealStackLimit) \ |
| 182 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ | 182 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
| 183 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 183 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
| 184 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 184 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
| 185 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 185 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
| 186 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ | 186 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ |
| 187 V(JSObject, observation_state, ObservationState) \ | 187 V(JSObject, observation_state, ObservationState) \ |
| 188 V(Map, external_map, ExternalMap) \ | 188 V(Map, external_map, ExternalMap) \ |
| 189 V(Symbol, frozen_symbol, FrozenSymbol) \ | 189 V(Symbol, frozen_symbol, FrozenSymbol) \ |
| 190 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ | 190 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ |
| 191 V(Symbol, element_callbacks_symbol, ElementCallbacksSymbol) \ |
| 191 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 192 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
| 192 EmptySlowElementDictionary) \ | 193 EmptySlowElementDictionary) \ |
| 193 V(Symbol, observed_symbol, ObservedSymbol) | 194 V(Symbol, observed_symbol, ObservedSymbol) |
| 194 | 195 |
| 195 #define ROOT_LIST(V) \ | 196 #define ROOT_LIST(V) \ |
| 196 STRONG_ROOT_LIST(V) \ | 197 STRONG_ROOT_LIST(V) \ |
| 197 V(StringTable, string_table, StringTable) | 198 V(StringTable, string_table, StringTable) |
| 198 | 199 |
| 199 #define INTERNALIZED_STRING_LIST(V) \ | 200 #define INTERNALIZED_STRING_LIST(V) \ |
| 200 V(Array_string, "Array") \ | 201 V(Array_string, "Array") \ |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 | 761 |
| 761 // Allocates an empty TypeFeedbackInfo. | 762 // Allocates an empty TypeFeedbackInfo. |
| 762 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); | 763 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); |
| 763 | 764 |
| 764 // Allocates an AliasedArgumentsEntry. | 765 // Allocates an AliasedArgumentsEntry. |
| 765 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); | 766 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); |
| 766 | 767 |
| 767 // Clear the Instanceof cache (used when a prototype changes). | 768 // Clear the Instanceof cache (used when a prototype changes). |
| 768 inline void ClearInstanceofCache(); | 769 inline void ClearInstanceofCache(); |
| 769 | 770 |
| 771 void ClearAllICsByKind(Code::Kind kind); |
| 772 |
| 770 // For use during bootup. | 773 // For use during bootup. |
| 771 void RepairFreeListsAfterBoot(); | 774 void RepairFreeListsAfterBoot(); |
| 772 | 775 |
| 773 // Allocates and fully initializes a String. There are two String | 776 // Allocates and fully initializes a String. There are two String |
| 774 // encodings: ASCII and two byte. One should choose between the three string | 777 // encodings: ASCII and two byte. One should choose between the three string |
| 775 // allocation functions based on the encoding of the string buffer used to | 778 // allocation functions based on the encoding of the string buffer used to |
| 776 // initialized the string. | 779 // initialized the string. |
| 777 // - ...FromAscii initializes the string from a buffer that is ASCII | 780 // - ...FromAscii initializes the string from a buffer that is ASCII |
| 778 // encoded (it does not check that the buffer is ASCII encoded) and the | 781 // encoded (it does not check that the buffer is ASCII encoded) and the |
| 779 // result will be ASCII encoded. | 782 // result will be ASCII encoded. |
| (...skipping 2290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3070 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3073 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 3071 | 3074 |
| 3072 private: | 3075 private: |
| 3073 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3076 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 3074 }; | 3077 }; |
| 3075 #endif // DEBUG | 3078 #endif // DEBUG |
| 3076 | 3079 |
| 3077 } } // namespace v8::internal | 3080 } } // namespace v8::internal |
| 3078 | 3081 |
| 3079 #endif // V8_HEAP_H_ | 3082 #endif // V8_HEAP_H_ |
| OLD | NEW |