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

Side by Side Diff: src/heap.h

Issue 231073002: WIP: Parser: delay string internalization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: more cleanup Created 6 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/func-name-inferrer.cc ('k') | src/interface.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_H_ 5 #ifndef V8_HEAP_H_
6 #define V8_HEAP_H_ 6 #define V8_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "allocation.h" 10 #include "allocation.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 V(Arguments_string, "Arguments") \ 270 V(Arguments_string, "Arguments") \
271 V(call_string, "call") \ 271 V(call_string, "call") \
272 V(apply_string, "apply") \ 272 V(apply_string, "apply") \
273 V(caller_string, "caller") \ 273 V(caller_string, "caller") \
274 V(boolean_string, "boolean") \ 274 V(boolean_string, "boolean") \
275 V(Boolean_string, "Boolean") \ 275 V(Boolean_string, "Boolean") \
276 V(callee_string, "callee") \ 276 V(callee_string, "callee") \
277 V(constructor_string, "constructor") \ 277 V(constructor_string, "constructor") \
278 V(dot_result_string, ".result") \ 278 V(dot_result_string, ".result") \
279 V(dot_for_string, ".for.") \ 279 V(dot_for_string, ".for.") \
280 V(dot_iterator_string, ".iterator") \
281 V(dot_generator_object_string, ".generator_object") \
282 V(eval_string, "eval") \ 280 V(eval_string, "eval") \
283 V(empty_string, "") \ 281 V(empty_string, "") \
284 V(function_string, "function") \ 282 V(function_string, "function") \
285 V(length_string, "length") \ 283 V(length_string, "length") \
286 V(module_string, "module") \
287 V(name_string, "name") \ 284 V(name_string, "name") \
288 V(native_string, "native") \
289 V(null_string, "null") \ 285 V(null_string, "null") \
290 V(number_string, "number") \ 286 V(number_string, "number") \
291 V(Number_string, "Number") \ 287 V(Number_string, "Number") \
292 V(nan_string, "NaN") \ 288 V(nan_string, "NaN") \
293 V(RegExp_string, "RegExp") \ 289 V(RegExp_string, "RegExp") \
294 V(source_string, "source") \ 290 V(source_string, "source") \
295 V(global_string, "global") \ 291 V(global_string, "global") \
296 V(ignore_case_string, "ignoreCase") \ 292 V(ignore_case_string, "ignoreCase") \
297 V(multiline_string, "multiline") \ 293 V(multiline_string, "multiline") \
298 V(input_string, "input") \ 294 V(input_string, "input") \
299 V(index_string, "index") \ 295 V(index_string, "index") \
300 V(last_index_string, "lastIndex") \ 296 V(last_index_string, "lastIndex") \
301 V(object_string, "object") \ 297 V(object_string, "object") \
302 V(literals_string, "literals") \ 298 V(literals_string, "literals") \
303 V(prototype_string, "prototype") \ 299 V(prototype_string, "prototype") \
304 V(string_string, "string") \ 300 V(string_string, "string") \
305 V(String_string, "String") \ 301 V(String_string, "String") \
306 V(symbol_string, "symbol") \ 302 V(symbol_string, "symbol") \
307 V(Symbol_string, "Symbol") \ 303 V(Symbol_string, "Symbol") \
308 V(for_string, "for") \ 304 V(for_string, "for") \
309 V(for_api_string, "for_api") \ 305 V(for_api_string, "for_api") \
310 V(for_intern_string, "for_intern") \ 306 V(for_intern_string, "for_intern") \
311 V(private_api_string, "private_api") \ 307 V(private_api_string, "private_api") \
312 V(private_intern_string, "private_intern") \ 308 V(private_intern_string, "private_intern") \
313 V(Date_string, "Date") \ 309 V(Date_string, "Date") \
314 V(this_string, "this") \
315 V(to_string_string, "toString") \ 310 V(to_string_string, "toString") \
316 V(char_at_string, "CharAt") \ 311 V(char_at_string, "CharAt") \
317 V(undefined_string, "undefined") \ 312 V(undefined_string, "undefined") \
318 V(value_of_string, "valueOf") \ 313 V(value_of_string, "valueOf") \
319 V(stack_string, "stack") \ 314 V(stack_string, "stack") \
320 V(toJSON_string, "toJSON") \ 315 V(toJSON_string, "toJSON") \
321 V(InitializeVarGlobal_string, "InitializeVarGlobal") \ 316 V(InitializeVarGlobal_string, "InitializeVarGlobal") \
322 V(InitializeConstGlobal_string, "InitializeConstGlobal") \ 317 V(InitializeConstGlobal_string, "InitializeConstGlobal") \
323 V(KeyedLoadElementMonomorphic_string, \ 318 V(KeyedLoadElementMonomorphic_string, \
324 "KeyedLoadElementMonomorphic") \ 319 "KeyedLoadElementMonomorphic") \
325 V(KeyedStoreElementMonomorphic_string, \ 320 V(KeyedStoreElementMonomorphic_string, \
326 "KeyedStoreElementMonomorphic") \ 321 "KeyedStoreElementMonomorphic") \
327 V(stack_overflow_string, "kStackOverflowBoilerplate") \ 322 V(stack_overflow_string, "kStackOverflowBoilerplate") \
328 V(illegal_access_string, "illegal access") \ 323 V(illegal_access_string, "illegal access") \
329 V(get_string, "get") \ 324 V(get_string, "get") \
330 V(set_string, "set") \ 325 V(set_string, "set") \
331 V(map_field_string, "%map") \ 326 V(map_field_string, "%map") \
332 V(elements_field_string, "%elements") \ 327 V(elements_field_string, "%elements") \
333 V(length_field_string, "%length") \ 328 V(length_field_string, "%length") \
334 V(cell_value_string, "%cell_value") \ 329 V(cell_value_string, "%cell_value") \
335 V(function_class_string, "Function") \ 330 V(function_class_string, "Function") \
336 V(illegal_argument_string, "illegal argument") \ 331 V(illegal_argument_string, "illegal argument") \
337 V(MakeReferenceError_string, "MakeReferenceError") \
338 V(MakeSyntaxError_string, "MakeSyntaxError") \
339 V(MakeTypeError_string, "MakeTypeError") \
340 V(unknown_label_string, "unknown_label") \
341 V(space_string, " ") \ 332 V(space_string, " ") \
342 V(exec_string, "exec") \ 333 V(exec_string, "exec") \
343 V(zero_string, "0") \ 334 V(zero_string, "0") \
344 V(global_eval_string, "GlobalEval") \ 335 V(global_eval_string, "GlobalEval") \
345 V(identity_hash_string, "v8::IdentityHash") \ 336 V(identity_hash_string, "v8::IdentityHash") \
346 V(closure_string, "(closure)") \ 337 V(closure_string, "(closure)") \
347 V(use_strict_string, "use strict") \
348 V(dot_string, ".") \ 338 V(dot_string, ".") \
349 V(anonymous_function_string, "(anonymous function)") \
350 V(compare_ic_string, "==") \ 339 V(compare_ic_string, "==") \
351 V(strict_compare_ic_string, "===") \ 340 V(strict_compare_ic_string, "===") \
352 V(infinity_string, "Infinity") \ 341 V(infinity_string, "Infinity") \
353 V(minus_infinity_string, "-Infinity") \ 342 V(minus_infinity_string, "-Infinity") \
354 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \ 343 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \
355 V(query_colon_string, "(?:)") \ 344 V(query_colon_string, "(?:)") \
356 V(Generator_string, "Generator") \ 345 V(Generator_string, "Generator") \
357 V(throw_string, "throw") \ 346 V(throw_string, "throw") \
358 V(done_string, "done") \ 347 V(done_string, "done") \
359 V(value_string, "value") \ 348 V(value_string, "value") \
(...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2750 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2762 2751
2763 private: 2752 private:
2764 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2753 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2765 }; 2754 };
2766 #endif // DEBUG 2755 #endif // DEBUG
2767 2756
2768 } } // namespace v8::internal 2757 } } // namespace v8::internal
2769 2758
2770 #endif // V8_HEAP_H_ 2759 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/func-name-inferrer.cc ('k') | src/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698