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

Side by Side Diff: src/heap.h

Issue 7992002: Improve Hydrogen code for accessing undefined/null/Infinity. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 3 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/factory.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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 V(Map, catch_context_map, CatchContextMap) \ 119 V(Map, catch_context_map, CatchContextMap) \
120 V(Map, with_context_map, WithContextMap) \ 120 V(Map, with_context_map, WithContextMap) \
121 V(Map, block_context_map, BlockContextMap) \ 121 V(Map, block_context_map, BlockContextMap) \
122 V(Map, code_map, CodeMap) \ 122 V(Map, code_map, CodeMap) \
123 V(Map, oddball_map, OddballMap) \ 123 V(Map, oddball_map, OddballMap) \
124 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ 124 V(Map, global_property_cell_map, GlobalPropertyCellMap) \
125 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ 125 V(Map, shared_function_info_map, SharedFunctionInfoMap) \
126 V(Map, message_object_map, JSMessageObjectMap) \ 126 V(Map, message_object_map, JSMessageObjectMap) \
127 V(Map, foreign_map, ForeignMap) \ 127 V(Map, foreign_map, ForeignMap) \
128 V(Object, nan_value, NanValue) \ 128 V(Object, nan_value, NanValue) \
129 V(Object, infinity_value, InfinityValue) \
129 V(Object, minus_zero_value, MinusZeroValue) \ 130 V(Object, minus_zero_value, MinusZeroValue) \
130 V(Map, neander_map, NeanderMap) \ 131 V(Map, neander_map, NeanderMap) \
131 V(JSObject, message_listeners, MessageListeners) \ 132 V(JSObject, message_listeners, MessageListeners) \
132 V(Foreign, prototype_accessors, PrototypeAccessors) \ 133 V(Foreign, prototype_accessors, PrototypeAccessors) \
133 V(NumberDictionary, code_stubs, CodeStubs) \ 134 V(NumberDictionary, code_stubs, CodeStubs) \
134 V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ 135 V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
135 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \ 136 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
136 V(Code, js_entry_code, JsEntryCode) \ 137 V(Code, js_entry_code, JsEntryCode) \
137 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 138 V(Code, js_construct_entry_code, JsConstructEntryCode) \
138 V(FixedArray, natives_source_cache, NativesSourceCache) \ 139 V(FixedArray, natives_source_cache, NativesSourceCache) \
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 V(redeclaration_symbol, "redeclaration") \ 223 V(redeclaration_symbol, "redeclaration") \
223 V(failure_symbol, "<failure>") \ 224 V(failure_symbol, "<failure>") \
224 V(space_symbol, " ") \ 225 V(space_symbol, " ") \
225 V(exec_symbol, "exec") \ 226 V(exec_symbol, "exec") \
226 V(zero_symbol, "0") \ 227 V(zero_symbol, "0") \
227 V(global_eval_symbol, "GlobalEval") \ 228 V(global_eval_symbol, "GlobalEval") \
228 V(identity_hash_symbol, "v8::IdentityHash") \ 229 V(identity_hash_symbol, "v8::IdentityHash") \
229 V(closure_symbol, "(closure)") \ 230 V(closure_symbol, "(closure)") \
230 V(use_strict, "use strict") \ 231 V(use_strict, "use strict") \
231 V(dot_symbol, ".") \ 232 V(dot_symbol, ".") \
232 V(anonymous_function_symbol, "(anonymous function)") 233 V(anonymous_function_symbol, "(anonymous function)") \
234 V(infinity_symbol, "Infinity") \
235 V(minus_infinity_symbol, "-Infinity")
233 236
234 // Forward declarations. 237 // Forward declarations.
235 class GCTracer; 238 class GCTracer;
236 class HeapStats; 239 class HeapStats;
237 class Isolate; 240 class Isolate;
238 class WeakObjectRetainer; 241 class WeakObjectRetainer;
239 242
240 243
241 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 244 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
242 Object** pointer); 245 Object** pointer);
(...skipping 2239 matching lines...) Expand 10 before | Expand all | Expand 10 after
2482 2485
2483 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2486 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2484 }; 2487 };
2485 #endif // DEBUG || LIVE_OBJECT_LIST 2488 #endif // DEBUG || LIVE_OBJECT_LIST
2486 2489
2487 } } // namespace v8::internal 2490 } } // namespace v8::internal
2488 2491
2489 #undef HEAP 2492 #undef HEAP
2490 2493
2491 #endif // V8_HEAP_H_ 2494 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698