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

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
« src/factory.h ('K') | « 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")
Steven 2011/09/22 13:57:23 The runtime functions contain multiple calls of th
Sven Panne 2011/09/23 07:59:49 Done. And I've just seen that the related Ctrl-C/C
233 235
234 // Forward declarations. 236 // Forward declarations.
235 class GCTracer; 237 class GCTracer;
236 class HeapStats; 238 class HeapStats;
237 class Isolate; 239 class Isolate;
238 class WeakObjectRetainer; 240 class WeakObjectRetainer;
239 241
240 242
241 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 243 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
242 Object** pointer); 244 Object** pointer);
(...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2481 2483
2482 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2484 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2483 }; 2485 };
2484 #endif // DEBUG || LIVE_OBJECT_LIST 2486 #endif // DEBUG || LIVE_OBJECT_LIST
2485 2487
2486 } } // namespace v8::internal 2488 } } // namespace v8::internal
2487 2489
2488 #undef HEAP 2490 #undef HEAP
2489 2491
2490 #endif // V8_HEAP_H_ 2492 #endif // V8_HEAP_H_
OLDNEW
« src/factory.h ('K') | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698