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

Side by Side Diff: src/heap.h

Issue 6894003: Better support for 'polymorphic' JS and external arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final review feedback Created 9 years, 7 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/flag-definitions.h ('k') | src/ia32/ic-ia32.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 2010 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
11 // with the distribution. 11 // with the distribution.
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 V(string_symbol, "string") \ 171 V(string_symbol, "string") \
172 V(String_symbol, "String") \ 172 V(String_symbol, "String") \
173 V(Date_symbol, "Date") \ 173 V(Date_symbol, "Date") \
174 V(this_symbol, "this") \ 174 V(this_symbol, "this") \
175 V(to_string_symbol, "toString") \ 175 V(to_string_symbol, "toString") \
176 V(char_at_symbol, "CharAt") \ 176 V(char_at_symbol, "CharAt") \
177 V(undefined_symbol, "undefined") \ 177 V(undefined_symbol, "undefined") \
178 V(value_of_symbol, "valueOf") \ 178 V(value_of_symbol, "valueOf") \
179 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ 179 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \
180 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ 180 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \
181 V(KeyedLoadSpecialized_symbol, "KeyedLoadSpecialized") \ 181 V(KeyedLoadSpecializedMonomorphic_symbol, \
182 V(KeyedStoreSpecialized_symbol, "KeyedStoreSpecialized") \ 182 "KeyedLoadSpecializedMonomorphic") \
183 V(KeyedLoadSpecializedPolymorphic_symbol, \
184 "KeyedLoadSpecializedPolymorphic") \
185 V(KeyedStoreSpecializedMonomorphic_symbol, \
186 "KeyedStoreSpecializedMonomorphic") \
187 V(KeyedStoreSpecializedPolymorphic_symbol, \
188 "KeyedStoreSpecializedPolymorphic") \
183 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ 189 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \
184 V(illegal_access_symbol, "illegal access") \ 190 V(illegal_access_symbol, "illegal access") \
185 V(out_of_memory_symbol, "out-of-memory") \ 191 V(out_of_memory_symbol, "out-of-memory") \
186 V(illegal_execution_state_symbol, "illegal execution state") \ 192 V(illegal_execution_state_symbol, "illegal execution state") \
187 V(get_symbol, "get") \ 193 V(get_symbol, "get") \
188 V(set_symbol, "set") \ 194 V(set_symbol, "set") \
189 V(function_class_symbol, "Function") \ 195 V(function_class_symbol, "Function") \
190 V(illegal_argument_symbol, "illegal argument") \ 196 V(illegal_argument_symbol, "illegal argument") \
191 V(MakeReferenceError_symbol, "MakeReferenceError") \ 197 V(MakeReferenceError_symbol, "MakeReferenceError") \
192 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ 198 V(MakeSyntaxError_symbol, "MakeSyntaxError") \
193 V(MakeTypeError_symbol, "MakeTypeError") \ 199 V(MakeTypeError_symbol, "MakeTypeError") \
194 V(invalid_lhs_in_assignment_symbol, "invalid_lhs_in_assignment") \ 200 V(invalid_lhs_in_assignment_symbol, "invalid_lhs_in_assignment") \
195 V(invalid_lhs_in_for_in_symbol, "invalid_lhs_in_for_in") \ 201 V(invalid_lhs_in_for_in_symbol, "invalid_lhs_in_for_in") \
196 V(invalid_lhs_in_postfix_op_symbol, "invalid_lhs_in_postfix_op") \ 202 V(invalid_lhs_in_postfix_op_symbol, "invalid_lhs_in_postfix_op") \
197 V(invalid_lhs_in_prefix_op_symbol, "invalid_lhs_in_prefix_op") \ 203 V(invalid_lhs_in_prefix_op_symbol, "invalid_lhs_in_prefix_op") \
198 V(illegal_return_symbol, "illegal_return") \ 204 V(illegal_return_symbol, "illegal_return") \
199 V(illegal_break_symbol, "illegal_break") \ 205 V(illegal_break_symbol, "illegal_break") \
200 V(illegal_continue_symbol, "illegal_continue") \ 206 V(illegal_continue_symbol, "illegal_continue") \
201 V(unknown_label_symbol, "unknown_label") \ 207 V(unknown_label_symbol, "unknown_label") \
202 V(redeclaration_symbol, "redeclaration") \ 208 V(redeclaration_symbol, "redeclaration") \
203 V(failure_symbol, "<failure>") \ 209 V(failure_symbol, "<failure>") \
204 V(space_symbol, " ") \ 210 V(space_symbol, " ") \
205 V(exec_symbol, "exec") \ 211 V(exec_symbol, "exec") \
206 V(zero_symbol, "0") \ 212 V(zero_symbol, "0") \
207 V(global_eval_symbol, "GlobalEval") \ 213 V(global_eval_symbol, "GlobalEval") \
208 V(identity_hash_symbol, "v8::IdentityHash") \ 214 V(identity_hash_symbol, "v8::IdentityHash") \
209 V(closure_symbol, "(closure)") \ 215 V(closure_symbol, "(closure)") \
210 V(use_strict, "use strict") \ 216 V(use_strict, "use strict")
211 V(KeyedLoadExternalByteArray_symbol, "KeyedLoadExternalByteArray") \
212 V(KeyedLoadExternalUnsignedByteArray_symbol, \
213 "KeyedLoadExternalUnsignedByteArray") \
214 V(KeyedLoadExternalShortArray_symbol, \
215 "KeyedLoadExternalShortArray") \
216 V(KeyedLoadExternalUnsignedShortArray_symbol, \
217 "KeyedLoadExternalUnsignedShortArray") \
218 V(KeyedLoadExternalIntArray_symbol, "KeyedLoadExternalIntArray") \
219 V(KeyedLoadExternalUnsignedIntArray_symbol, \
220 "KeyedLoadExternalUnsignedIntArray") \
221 V(KeyedLoadExternalFloatArray_symbol, "KeyedLoadExternalFloatArray") \
222 V(KeyedLoadExternalDoubleArray_symbol, "KeyedLoadExternalDoubleArray") \
223 V(KeyedLoadExternalPixelArray_symbol, "KeyedLoadExternalPixelArray") \
224 V(KeyedStoreExternalByteArray_symbol, "KeyedStoreExternalByteArray") \
225 V(KeyedStoreExternalUnsignedByteArray_symbol, \
226 "KeyedStoreExternalUnsignedByteArray") \
227 V(KeyedStoreExternalShortArray_symbol, "KeyedStoreExternalShortArray") \
228 V(KeyedStoreExternalUnsignedShortArray_symbol, \
229 "KeyedStoreExternalUnsignedShortArray") \
230 V(KeyedStoreExternalIntArray_symbol, "KeyedStoreExternalIntArray") \
231 V(KeyedStoreExternalUnsignedIntArray_symbol, \
232 "KeyedStoreExternalUnsignedIntArray") \
233 V(KeyedStoreExternalFloatArray_symbol, "KeyedStoreExternalFloatArray") \
234 V(KeyedStoreExternalDoubleArray_symbol, "KeyedStoreExternalDoubleArray") \
235 V(KeyedStoreExternalPixelArray_symbol, "KeyedStoreExternalPixelArray")
236 217
237 // Forward declarations. 218 // Forward declarations.
238 class GCTracer; 219 class GCTracer;
239 class HeapStats; 220 class HeapStats;
240 class Isolate; 221 class Isolate;
241 class WeakObjectRetainer; 222 class WeakObjectRetainer;
242 223
243 224
244 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 225 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
245 Object** pointer); 226 Object** pointer);
(...skipping 2028 matching lines...) Expand 10 before | Expand all | Expand 10 after
2274 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2255 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2275 }; 2256 };
2276 #endif // DEBUG || LIVE_OBJECT_LIST 2257 #endif // DEBUG || LIVE_OBJECT_LIST
2277 2258
2278 2259
2279 } } // namespace v8::internal 2260 } } // namespace v8::internal
2280 2261
2281 #undef HEAP 2262 #undef HEAP
2282 2263
2283 #endif // V8_HEAP_H_ 2264 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698