| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 7007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7018 | 7018 |
| 7019 | 7019 |
| 7020 // Script describes a script which has been added to the VM. | 7020 // Script describes a script which has been added to the VM. |
| 7021 class Script: public Struct { | 7021 class Script: public Struct { |
| 7022 public: | 7022 public: |
| 7023 // Script types. | 7023 // Script types. |
| 7024 enum Type { | 7024 enum Type { |
| 7025 TYPE_NATIVE = 0, | 7025 TYPE_NATIVE = 0, |
| 7026 TYPE_EXTENSION = 1, | 7026 TYPE_EXTENSION = 1, |
| 7027 TYPE_NORMAL = 2, | 7027 TYPE_NORMAL = 2, |
| 7028 TYPE_WASM = 3 | 7028 TYPE_WASM = 3, |
| 7029 TYPE_INSPECTOR = 4 |
| 7029 }; | 7030 }; |
| 7030 | 7031 |
| 7031 // Script compilation types. | 7032 // Script compilation types. |
| 7032 enum CompilationType { | 7033 enum CompilationType { |
| 7033 COMPILATION_TYPE_HOST = 0, | 7034 COMPILATION_TYPE_HOST = 0, |
| 7034 COMPILATION_TYPE_EVAL = 1 | 7035 COMPILATION_TYPE_EVAL = 1 |
| 7035 }; | 7036 }; |
| 7036 | 7037 |
| 7037 // Script compilation state. | 7038 // Script compilation state. |
| 7038 enum CompilationState { | 7039 enum CompilationState { |
| (...skipping 4827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11866 } | 11867 } |
| 11867 return value; | 11868 return value; |
| 11868 } | 11869 } |
| 11869 }; | 11870 }; |
| 11870 | 11871 |
| 11871 | 11872 |
| 11872 } // NOLINT, false-positive due to second-order macros. | 11873 } // NOLINT, false-positive due to second-order macros. |
| 11873 } // NOLINT, false-positive due to second-order macros. | 11874 } // NOLINT, false-positive due to second-order macros. |
| 11874 | 11875 |
| 11875 #endif // V8_OBJECTS_H_ | 11876 #endif // V8_OBJECTS_H_ |
| OLD | NEW |