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

Side by Side Diff: src/heap.h

Issue 314603004: Parser: Delay internalizing strings and values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased 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 "src/allocation.h" 10 #include "src/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_iterable_string, ".iterable") \
281 V(dot_iterator_string, ".iterator") \
282 V(dot_generator_object_string, ".generator_object") \
283 V(eval_string, "eval") \ 280 V(eval_string, "eval") \
284 V(empty_string, "") \ 281 V(empty_string, "") \
285 V(function_string, "function") \ 282 V(function_string, "function") \
286 V(length_string, "length") \ 283 V(length_string, "length") \
287 V(module_string, "module") \
288 V(name_string, "name") \ 284 V(name_string, "name") \
289 V(native_string, "native") \
290 V(null_string, "null") \ 285 V(null_string, "null") \
291 V(number_string, "number") \ 286 V(number_string, "number") \
292 V(Number_string, "Number") \ 287 V(Number_string, "Number") \
293 V(nan_string, "NaN") \ 288 V(nan_string, "NaN") \
294 V(RegExp_string, "RegExp") \ 289 V(RegExp_string, "RegExp") \
295 V(source_string, "source") \ 290 V(source_string, "source") \
296 V(global_string, "global") \ 291 V(global_string, "global") \
297 V(ignore_case_string, "ignoreCase") \ 292 V(ignore_case_string, "ignoreCase") \
298 V(multiline_string, "multiline") \ 293 V(multiline_string, "multiline") \
299 V(input_string, "input") \ 294 V(input_string, "input") \
300 V(index_string, "index") \ 295 V(index_string, "index") \
301 V(last_index_string, "lastIndex") \ 296 V(last_index_string, "lastIndex") \
302 V(object_string, "object") \ 297 V(object_string, "object") \
303 V(literals_string, "literals") \ 298 V(literals_string, "literals") \
304 V(prototype_string, "prototype") \ 299 V(prototype_string, "prototype") \
305 V(string_string, "string") \ 300 V(string_string, "string") \
306 V(String_string, "String") \ 301 V(String_string, "String") \
307 V(symbol_string, "symbol") \ 302 V(symbol_string, "symbol") \
308 V(Symbol_string, "Symbol") \ 303 V(Symbol_string, "Symbol") \
309 V(for_string, "for") \ 304 V(for_string, "for") \
310 V(for_api_string, "for_api") \ 305 V(for_api_string, "for_api") \
311 V(for_intern_string, "for_intern") \ 306 V(for_intern_string, "for_intern") \
312 V(private_api_string, "private_api") \ 307 V(private_api_string, "private_api") \
313 V(private_intern_string, "private_intern") \ 308 V(private_intern_string, "private_intern") \
314 V(Date_string, "Date") \ 309 V(Date_string, "Date") \
315 V(this_string, "this") \
316 V(to_string_string, "toString") \ 310 V(to_string_string, "toString") \
317 V(char_at_string, "CharAt") \ 311 V(char_at_string, "CharAt") \
318 V(undefined_string, "undefined") \ 312 V(undefined_string, "undefined") \
319 V(value_of_string, "valueOf") \ 313 V(value_of_string, "valueOf") \
320 V(stack_string, "stack") \ 314 V(stack_string, "stack") \
321 V(toJSON_string, "toJSON") \ 315 V(toJSON_string, "toJSON") \
322 V(InitializeVarGlobal_string, "InitializeVarGlobal") \ 316 V(InitializeVarGlobal_string, "InitializeVarGlobal") \
323 V(InitializeConstGlobal_string, "InitializeConstGlobal") \ 317 V(InitializeConstGlobal_string, "InitializeConstGlobal") \
324 V(KeyedLoadElementMonomorphic_string, \ 318 V(KeyedLoadElementMonomorphic_string, \
325 "KeyedLoadElementMonomorphic") \ 319 "KeyedLoadElementMonomorphic") \
326 V(KeyedStoreElementMonomorphic_string, \ 320 V(KeyedStoreElementMonomorphic_string, \
327 "KeyedStoreElementMonomorphic") \ 321 "KeyedStoreElementMonomorphic") \
328 V(stack_overflow_string, "kStackOverflowBoilerplate") \ 322 V(stack_overflow_string, "kStackOverflowBoilerplate") \
329 V(illegal_access_string, "illegal access") \ 323 V(illegal_access_string, "illegal access") \
330 V(get_string, "get") \ 324 V(get_string, "get") \
331 V(set_string, "set") \ 325 V(set_string, "set") \
332 V(map_field_string, "%map") \ 326 V(map_field_string, "%map") \
333 V(elements_field_string, "%elements") \ 327 V(elements_field_string, "%elements") \
334 V(length_field_string, "%length") \ 328 V(length_field_string, "%length") \
335 V(cell_value_string, "%cell_value") \ 329 V(cell_value_string, "%cell_value") \
336 V(function_class_string, "Function") \ 330 V(function_class_string, "Function") \
337 V(illegal_argument_string, "illegal argument") \ 331 V(illegal_argument_string, "illegal argument") \
338 V(MakeReferenceError_string, "MakeReferenceError") \
339 V(MakeSyntaxError_string, "MakeSyntaxError") \
340 V(MakeTypeError_string, "MakeTypeError") \
341 V(unknown_label_string, "unknown_label") \
342 V(space_string, " ") \ 332 V(space_string, " ") \
343 V(exec_string, "exec") \ 333 V(exec_string, "exec") \
344 V(zero_string, "0") \ 334 V(zero_string, "0") \
345 V(global_eval_string, "GlobalEval") \ 335 V(global_eval_string, "GlobalEval") \
346 V(identity_hash_string, "v8::IdentityHash") \ 336 V(identity_hash_string, "v8::IdentityHash") \
347 V(closure_string, "(closure)") \ 337 V(closure_string, "(closure)") \
348 V(use_strict_string, "use strict") \
349 V(dot_string, ".") \ 338 V(dot_string, ".") \
350 V(anonymous_function_string, "(anonymous function)") \
351 V(compare_ic_string, "==") \ 339 V(compare_ic_string, "==") \
352 V(strict_compare_ic_string, "===") \ 340 V(strict_compare_ic_string, "===") \
353 V(infinity_string, "Infinity") \ 341 V(infinity_string, "Infinity") \
354 V(minus_infinity_string, "-Infinity") \ 342 V(minus_infinity_string, "-Infinity") \
355 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \ 343 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \
356 V(query_colon_string, "(?:)") \ 344 V(query_colon_string, "(?:)") \
357 V(Generator_string, "Generator") \ 345 V(Generator_string, "Generator") \
358 V(throw_string, "throw") \ 346 V(throw_string, "throw") \
359 V(done_string, "done") \ 347 V(done_string, "done") \
360 V(value_string, "value") \ 348 V(value_string, "value") \
(...skipping 2432 matching lines...) Expand 10 before | Expand all | Expand 10 after
2793 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2781 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2794 2782
2795 private: 2783 private:
2796 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2784 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2797 }; 2785 };
2798 #endif // DEBUG 2786 #endif // DEBUG
2799 2787
2800 } } // namespace v8::internal 2788 } } // namespace v8::internal
2801 2789
2802 #endif // V8_HEAP_H_ 2790 #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