OLD | NEW |
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 V(Map, undetectable_ascii_string_map, UndetectableAsciiStringMap) \ | 100 V(Map, undetectable_ascii_string_map, UndetectableAsciiStringMap) \ |
101 V(Map, external_pixel_array_map, ExternalPixelArrayMap) \ | 101 V(Map, external_pixel_array_map, ExternalPixelArrayMap) \ |
102 V(Map, external_byte_array_map, ExternalByteArrayMap) \ | 102 V(Map, external_byte_array_map, ExternalByteArrayMap) \ |
103 V(Map, external_unsigned_byte_array_map, ExternalUnsignedByteArrayMap) \ | 103 V(Map, external_unsigned_byte_array_map, ExternalUnsignedByteArrayMap) \ |
104 V(Map, external_short_array_map, ExternalShortArrayMap) \ | 104 V(Map, external_short_array_map, ExternalShortArrayMap) \ |
105 V(Map, external_unsigned_short_array_map, ExternalUnsignedShortArrayMap) \ | 105 V(Map, external_unsigned_short_array_map, ExternalUnsignedShortArrayMap) \ |
106 V(Map, external_int_array_map, ExternalIntArrayMap) \ | 106 V(Map, external_int_array_map, ExternalIntArrayMap) \ |
107 V(Map, external_unsigned_int_array_map, ExternalUnsignedIntArrayMap) \ | 107 V(Map, external_unsigned_int_array_map, ExternalUnsignedIntArrayMap) \ |
108 V(Map, external_float_array_map, ExternalFloatArrayMap) \ | 108 V(Map, external_float_array_map, ExternalFloatArrayMap) \ |
109 V(Map, external_double_array_map, ExternalDoubleArrayMap) \ | 109 V(Map, external_double_array_map, ExternalDoubleArrayMap) \ |
| 110 V(Map, non_strict_arguments_elements_map, NonStrictArgumentsElementsMap) \ |
110 V(Map, function_context_map, FunctionContextMap) \ | 111 V(Map, function_context_map, FunctionContextMap) \ |
111 V(Map, catch_context_map, CatchContextMap) \ | 112 V(Map, catch_context_map, CatchContextMap) \ |
112 V(Map, with_context_map, WithContextMap) \ | 113 V(Map, with_context_map, WithContextMap) \ |
113 V(Map, code_map, CodeMap) \ | 114 V(Map, code_map, CodeMap) \ |
114 V(Map, oddball_map, OddballMap) \ | 115 V(Map, oddball_map, OddballMap) \ |
115 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ | 116 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ |
116 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ | 117 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ |
117 V(Map, message_object_map, JSMessageObjectMap) \ | 118 V(Map, message_object_map, JSMessageObjectMap) \ |
118 V(Map, foreign_map, ForeignMap) \ | 119 V(Map, foreign_map, ForeignMap) \ |
119 V(Object, nan_value, NanValue) \ | 120 V(Object, nan_value, NanValue) \ |
(...skipping 16 matching lines...) Expand all Loading... |
136 STRONG_ROOT_LIST(V) \ | 137 STRONG_ROOT_LIST(V) \ |
137 V(SymbolTable, symbol_table, SymbolTable) | 138 V(SymbolTable, symbol_table, SymbolTable) |
138 | 139 |
139 #define SYMBOL_LIST(V) \ | 140 #define SYMBOL_LIST(V) \ |
140 V(Array_symbol, "Array") \ | 141 V(Array_symbol, "Array") \ |
141 V(Object_symbol, "Object") \ | 142 V(Object_symbol, "Object") \ |
142 V(Proto_symbol, "__proto__") \ | 143 V(Proto_symbol, "__proto__") \ |
143 V(StringImpl_symbol, "StringImpl") \ | 144 V(StringImpl_symbol, "StringImpl") \ |
144 V(arguments_symbol, "arguments") \ | 145 V(arguments_symbol, "arguments") \ |
145 V(Arguments_symbol, "Arguments") \ | 146 V(Arguments_symbol, "Arguments") \ |
146 V(arguments_shadow_symbol, ".arguments") \ | |
147 V(call_symbol, "call") \ | 147 V(call_symbol, "call") \ |
148 V(apply_symbol, "apply") \ | 148 V(apply_symbol, "apply") \ |
149 V(caller_symbol, "caller") \ | 149 V(caller_symbol, "caller") \ |
150 V(boolean_symbol, "boolean") \ | 150 V(boolean_symbol, "boolean") \ |
151 V(Boolean_symbol, "Boolean") \ | 151 V(Boolean_symbol, "Boolean") \ |
152 V(callee_symbol, "callee") \ | 152 V(callee_symbol, "callee") \ |
153 V(constructor_symbol, "constructor") \ | 153 V(constructor_symbol, "constructor") \ |
154 V(code_symbol, ".code") \ | 154 V(code_symbol, ".code") \ |
155 V(result_symbol, ".result") \ | 155 V(result_symbol, ".result") \ |
156 V(catch_var_symbol, ".catch-var") \ | 156 V(catch_var_symbol, ".catch-var") \ |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 | 641 |
642 // Allocate a global (but otherwise uninitialized) context. | 642 // Allocate a global (but otherwise uninitialized) context. |
643 MUST_USE_RESULT MaybeObject* AllocateGlobalContext(); | 643 MUST_USE_RESULT MaybeObject* AllocateGlobalContext(); |
644 | 644 |
645 // Allocate a function context. | 645 // Allocate a function context. |
646 MUST_USE_RESULT MaybeObject* AllocateFunctionContext(int length, | 646 MUST_USE_RESULT MaybeObject* AllocateFunctionContext(int length, |
647 JSFunction* closure); | 647 JSFunction* closure); |
648 | 648 |
649 // Allocate a catch context. | 649 // Allocate a catch context. |
650 MUST_USE_RESULT MaybeObject* AllocateCatchContext(Context* previous, | 650 MUST_USE_RESULT MaybeObject* AllocateCatchContext(Context* previous, |
651 String* name, | 651 JSObject* extension); |
652 Object* thrown_object); | |
653 // Allocate a 'with' context. | 652 // Allocate a 'with' context. |
654 MUST_USE_RESULT MaybeObject* AllocateWithContext(Context* previous, | 653 MUST_USE_RESULT MaybeObject* AllocateWithContext(Context* previous, |
655 JSObject* extension); | 654 JSObject* extension); |
656 | 655 |
657 // Allocates a new utility object in the old generation. | 656 // Allocates a new utility object in the old generation. |
658 MUST_USE_RESULT MaybeObject* AllocateStruct(InstanceType type); | 657 MUST_USE_RESULT MaybeObject* AllocateStruct(InstanceType type); |
659 | 658 |
660 // Allocates a function initialized with a shared part. | 659 // Allocates a function initialized with a shared part. |
661 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation | 660 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
662 // failed. | 661 // failed. |
(...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2287 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2286 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2288 }; | 2287 }; |
2289 #endif // DEBUG || LIVE_OBJECT_LIST | 2288 #endif // DEBUG || LIVE_OBJECT_LIST |
2290 | 2289 |
2291 | 2290 |
2292 } } // namespace v8::internal | 2291 } } // namespace v8::internal |
2293 | 2292 |
2294 #undef HEAP | 2293 #undef HEAP |
2295 | 2294 |
2296 #endif // V8_HEAP_H_ | 2295 #endif // V8_HEAP_H_ |
OLD | NEW |