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

Side by Side Diff: src/globals.h

Issue 1805903002: [serializer] Add API to warm up startup snapshot with an additional script. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix comment Created 4 years, 9 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
« no previous file with comments | « src/api.cc ('k') | src/heap/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 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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 }; 468 };
469 469
470 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; 470 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR };
471 471
472 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; 472 enum Executability { NOT_EXECUTABLE, EXECUTABLE };
473 473
474 enum VisitMode { 474 enum VisitMode {
475 VISIT_ALL, 475 VISIT_ALL,
476 VISIT_ALL_IN_SCAVENGE, 476 VISIT_ALL_IN_SCAVENGE,
477 VISIT_ALL_IN_SWEEP_NEWSPACE, 477 VISIT_ALL_IN_SWEEP_NEWSPACE,
478 VISIT_ONLY_STRONG 478 VISIT_ONLY_STRONG,
479 VISIT_ONLY_STRONG_FOR_SERIALIZATION
479 }; 480 };
480 481
481 // Flag indicating whether code is built into the VM (one of the natives files). 482 // Flag indicating whether code is built into the VM (one of the natives files).
482 enum NativesFlag { NOT_NATIVES_CODE, EXTENSION_CODE, NATIVES_CODE }; 483 enum NativesFlag { NOT_NATIVES_CODE, EXTENSION_CODE, NATIVES_CODE };
483 484
484 // JavaScript defines two kinds of 'nil'. 485 // JavaScript defines two kinds of 'nil'.
485 enum NilValue { kNullValue, kUndefinedValue }; 486 enum NilValue { kNullValue, kUndefinedValue };
486 487
487 // ParseRestriction is used to restrict the set of valid statements in a 488 // ParseRestriction is used to restrict the set of valid statements in a
488 // unit of compilation. Restriction violations cause a syntax error. 489 // unit of compilation. Restriction violations cause a syntax error.
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> 1027 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >>
1027 kPointerSizeLog2); 1028 kPointerSizeLog2);
1028 } 1029 }
1029 1030
1030 } // namespace internal 1031 } // namespace internal
1031 } // namespace v8 1032 } // namespace v8
1032 1033
1033 namespace i = v8::internal; 1034 namespace i = v8::internal;
1034 1035
1035 #endif // V8_GLOBALS_H_ 1036 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698