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

Side by Side Diff: src/heap.h

Issue 240883003: Introduce exception object and remove some uses of MaybeObject::IsFailure(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/elements.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 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ 53 V(Map, one_pointer_filler_map, OnePointerFillerMap) \
54 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ 54 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \
55 /* Cluster the most popular ones in a few cache lines here at the top. */ \ 55 /* Cluster the most popular ones in a few cache lines here at the top. */ \
56 V(Smi, store_buffer_top, StoreBufferTop) \ 56 V(Smi, store_buffer_top, StoreBufferTop) \
57 V(Oddball, undefined_value, UndefinedValue) \ 57 V(Oddball, undefined_value, UndefinedValue) \
58 V(Oddball, the_hole_value, TheHoleValue) \ 58 V(Oddball, the_hole_value, TheHoleValue) \
59 V(Oddball, null_value, NullValue) \ 59 V(Oddball, null_value, NullValue) \
60 V(Oddball, true_value, TrueValue) \ 60 V(Oddball, true_value, TrueValue) \
61 V(Oddball, false_value, FalseValue) \ 61 V(Oddball, false_value, FalseValue) \
62 V(Oddball, uninitialized_value, UninitializedValue) \ 62 V(Oddball, uninitialized_value, UninitializedValue) \
63 V(Oddball, exception, Exception) \
63 V(Map, cell_map, CellMap) \ 64 V(Map, cell_map, CellMap) \
64 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ 65 V(Map, global_property_cell_map, GlobalPropertyCellMap) \
65 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ 66 V(Map, shared_function_info_map, SharedFunctionInfoMap) \
66 V(Map, meta_map, MetaMap) \ 67 V(Map, meta_map, MetaMap) \
67 V(Map, heap_number_map, HeapNumberMap) \ 68 V(Map, heap_number_map, HeapNumberMap) \
68 V(Map, native_context_map, NativeContextMap) \ 69 V(Map, native_context_map, NativeContextMap) \
69 V(Map, fixed_array_map, FixedArrayMap) \ 70 V(Map, fixed_array_map, FixedArrayMap) \
70 V(Map, code_map, CodeMap) \ 71 V(Map, code_map, CodeMap) \
71 V(Map, scope_info_map, ScopeInfoMap) \ 72 V(Map, scope_info_map, ScopeInfoMap) \
72 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 73 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 V(Map, block_context_map, BlockContextMap) \ 181 V(Map, block_context_map, BlockContextMap) \
181 V(Map, module_context_map, ModuleContextMap) \ 182 V(Map, module_context_map, ModuleContextMap) \
182 V(Map, global_context_map, GlobalContextMap) \ 183 V(Map, global_context_map, GlobalContextMap) \
183 V(Map, undefined_map, UndefinedMap) \ 184 V(Map, undefined_map, UndefinedMap) \
184 V(Map, the_hole_map, TheHoleMap) \ 185 V(Map, the_hole_map, TheHoleMap) \
185 V(Map, null_map, NullMap) \ 186 V(Map, null_map, NullMap) \
186 V(Map, boolean_map, BooleanMap) \ 187 V(Map, boolean_map, BooleanMap) \
187 V(Map, uninitialized_map, UninitializedMap) \ 188 V(Map, uninitialized_map, UninitializedMap) \
188 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ 189 V(Map, arguments_marker_map, ArgumentsMarkerMap) \
189 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ 190 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \
191 V(Map, exception_map, ExceptionMap) \
190 V(Map, termination_exception_map, TerminationExceptionMap) \ 192 V(Map, termination_exception_map, TerminationExceptionMap) \
191 V(Map, message_object_map, JSMessageObjectMap) \ 193 V(Map, message_object_map, JSMessageObjectMap) \
192 V(Map, foreign_map, ForeignMap) \ 194 V(Map, foreign_map, ForeignMap) \
193 V(HeapNumber, nan_value, NanValue) \ 195 V(HeapNumber, nan_value, NanValue) \
194 V(HeapNumber, infinity_value, InfinityValue) \ 196 V(HeapNumber, infinity_value, InfinityValue) \
195 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 197 V(HeapNumber, minus_zero_value, MinusZeroValue) \
196 V(Map, neander_map, NeanderMap) \ 198 V(Map, neander_map, NeanderMap) \
197 V(JSObject, message_listeners, MessageListeners) \ 199 V(JSObject, message_listeners, MessageListeners) \
198 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 200 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
199 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ 201 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
(...skipping 2695 matching lines...) Expand 10 before | Expand all | Expand 10 after
2895 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2897 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2896 2898
2897 private: 2899 private:
2898 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2900 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2899 }; 2901 };
2900 #endif // DEBUG 2902 #endif // DEBUG
2901 2903
2902 } } // namespace v8::internal 2904 } } // namespace v8::internal
2903 2905
2904 #endif // V8_HEAP_H_ 2906 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698