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

Side by Side Diff: src/globals.h

Issue 2499273003: [inspector] introduced Script::TYPE_INSPECTOR (Closed)
Patch Set: rebased Created 4 years, 1 month 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/frames.cc ('k') | src/inspector/debugger-script.js » ('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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 enum VisitMode { 584 enum VisitMode {
585 VISIT_ALL, 585 VISIT_ALL,
586 VISIT_ALL_IN_SCAVENGE, 586 VISIT_ALL_IN_SCAVENGE,
587 VISIT_ALL_IN_SWEEP_NEWSPACE, 587 VISIT_ALL_IN_SWEEP_NEWSPACE,
588 VISIT_ONLY_STRONG, 588 VISIT_ONLY_STRONG,
589 VISIT_ONLY_STRONG_FOR_SERIALIZATION, 589 VISIT_ONLY_STRONG_FOR_SERIALIZATION,
590 VISIT_ONLY_STRONG_ROOT_LIST, 590 VISIT_ONLY_STRONG_ROOT_LIST,
591 }; 591 };
592 592
593 // Flag indicating whether code is built into the VM (one of the natives files). 593 // Flag indicating whether code is built into the VM (one of the natives files).
594 enum NativesFlag { NOT_NATIVES_CODE, EXTENSION_CODE, NATIVES_CODE }; 594 enum NativesFlag {
595 NOT_NATIVES_CODE,
596 EXTENSION_CODE,
597 NATIVES_CODE,
598 INSPECTOR_CODE
599 };
595 600
596 // JavaScript defines two kinds of 'nil'. 601 // JavaScript defines two kinds of 'nil'.
597 enum NilValue { kNullValue, kUndefinedValue }; 602 enum NilValue { kNullValue, kUndefinedValue };
598 603
599 // ParseRestriction is used to restrict the set of valid statements in a 604 // ParseRestriction is used to restrict the set of valid statements in a
600 // unit of compilation. Restriction violations cause a syntax error. 605 // unit of compilation. Restriction violations cause a syntax error.
601 enum ParseRestriction { 606 enum ParseRestriction {
602 NO_PARSE_RESTRICTION, // All expressions are allowed. 607 NO_PARSE_RESTRICTION, // All expressions are allowed.
603 ONLY_SINGLE_FUNCTION_LITERAL // Only a single FunctionLiteral expression. 608 ONLY_SINGLE_FUNCTION_LITERAL // Only a single FunctionLiteral expression.
604 }; 609 };
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 } // namespace internal 1302 } // namespace internal
1298 } // namespace v8 1303 } // namespace v8
1299 1304
1300 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is 1305 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is
1301 // reducing a JSArray method, or a JSTypedArray method. 1306 // reducing a JSArray method, or a JSTypedArray method.
1302 enum class ArrayIteratorKind { kArray, kTypedArray }; 1307 enum class ArrayIteratorKind { kArray, kTypedArray };
1303 1308
1304 namespace i = v8::internal; 1309 namespace i = v8::internal;
1305 1310
1306 #endif // V8_GLOBALS_H_ 1311 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/inspector/debugger-script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698