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

Side by Side Diff: src/heap.h

Issue 7172030: Revert "Merge arguments branch to bleeding merge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/handles.cc ('k') | src/heap.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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) \
111 V(Map, function_context_map, FunctionContextMap) \ 110 V(Map, function_context_map, FunctionContextMap) \
112 V(Map, catch_context_map, CatchContextMap) \ 111 V(Map, catch_context_map, CatchContextMap) \
113 V(Map, with_context_map, WithContextMap) \ 112 V(Map, with_context_map, WithContextMap) \
114 V(Map, code_map, CodeMap) \ 113 V(Map, code_map, CodeMap) \
115 V(Map, oddball_map, OddballMap) \ 114 V(Map, oddball_map, OddballMap) \
116 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ 115 V(Map, global_property_cell_map, GlobalPropertyCellMap) \
117 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ 116 V(Map, shared_function_info_map, SharedFunctionInfoMap) \
118 V(Map, message_object_map, JSMessageObjectMap) \ 117 V(Map, message_object_map, JSMessageObjectMap) \
119 V(Map, foreign_map, ForeignMap) \ 118 V(Map, foreign_map, ForeignMap) \
120 V(Object, nan_value, NanValue) \ 119 V(Object, nan_value, NanValue) \
(...skipping 16 matching lines...) Expand all
137 STRONG_ROOT_LIST(V) \ 136 STRONG_ROOT_LIST(V) \
138 V(SymbolTable, symbol_table, SymbolTable) 137 V(SymbolTable, symbol_table, SymbolTable)
139 138
140 #define SYMBOL_LIST(V) \ 139 #define SYMBOL_LIST(V) \
141 V(Array_symbol, "Array") \ 140 V(Array_symbol, "Array") \
142 V(Object_symbol, "Object") \ 141 V(Object_symbol, "Object") \
143 V(Proto_symbol, "__proto__") \ 142 V(Proto_symbol, "__proto__") \
144 V(StringImpl_symbol, "StringImpl") \ 143 V(StringImpl_symbol, "StringImpl") \
145 V(arguments_symbol, "arguments") \ 144 V(arguments_symbol, "arguments") \
146 V(Arguments_symbol, "Arguments") \ 145 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
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 JSObject* extension); 651 String* name,
652 Object* thrown_object);
652 // Allocate a 'with' context. 653 // Allocate a 'with' context.
653 MUST_USE_RESULT MaybeObject* AllocateWithContext(Context* previous, 654 MUST_USE_RESULT MaybeObject* AllocateWithContext(Context* previous,
654 JSObject* extension); 655 JSObject* extension);
655 656
656 // Allocates a new utility object in the old generation. 657 // Allocates a new utility object in the old generation.
657 MUST_USE_RESULT MaybeObject* AllocateStruct(InstanceType type); 658 MUST_USE_RESULT MaybeObject* AllocateStruct(InstanceType type);
658 659
659 // Allocates a function initialized with a shared part. 660 // Allocates a function initialized with a shared part.
660 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 661 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
661 // failed. 662 // failed.
(...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after
2286 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2287 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2287 }; 2288 };
2288 #endif // DEBUG || LIVE_OBJECT_LIST 2289 #endif // DEBUG || LIVE_OBJECT_LIST
2289 2290
2290 2291
2291 } } // namespace v8::internal 2292 } } // namespace v8::internal
2292 2293
2293 #undef HEAP 2294 #undef HEAP
2294 2295
2295 #endif // V8_HEAP_H_ 2296 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698