| 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 7001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7012 | 7012 |
| 7013 | 7013 |
| 7014 // Script describes a script which has been added to the VM. | 7014 // Script describes a script which has been added to the VM. |
| 7015 class Script: public Struct { | 7015 class Script: public Struct { |
| 7016 public: | 7016 public: |
| 7017 // Script types. | 7017 // Script types. |
| 7018 enum Type { | 7018 enum Type { |
| 7019 TYPE_NATIVE = 0, | 7019 TYPE_NATIVE = 0, |
| 7020 TYPE_EXTENSION = 1, | 7020 TYPE_EXTENSION = 1, |
| 7021 TYPE_NORMAL = 2, | 7021 TYPE_NORMAL = 2, |
| 7022 TYPE_WASM = 3 | 7022 TYPE_WASM = 3, |
| 7023 TYPE_INSPECTOR = 4 |
| 7023 }; | 7024 }; |
| 7024 | 7025 |
| 7025 // Script compilation types. | 7026 // Script compilation types. |
| 7026 enum CompilationType { | 7027 enum CompilationType { |
| 7027 COMPILATION_TYPE_HOST = 0, | 7028 COMPILATION_TYPE_HOST = 0, |
| 7028 COMPILATION_TYPE_EVAL = 1 | 7029 COMPILATION_TYPE_EVAL = 1 |
| 7029 }; | 7030 }; |
| 7030 | 7031 |
| 7031 // Script compilation state. | 7032 // Script compilation state. |
| 7032 enum CompilationState { | 7033 enum CompilationState { |
| (...skipping 4827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11860 } | 11861 } |
| 11861 return value; | 11862 return value; |
| 11862 } | 11863 } |
| 11863 }; | 11864 }; |
| 11864 | 11865 |
| 11865 | 11866 |
| 11866 } // NOLINT, false-positive due to second-order macros. | 11867 } // NOLINT, false-positive due to second-order macros. |
| 11867 } // NOLINT, false-positive due to second-order macros. | 11868 } // NOLINT, false-positive due to second-order macros. |
| 11868 | 11869 |
| 11869 #endif // V8_OBJECTS_H_ | 11870 #endif // V8_OBJECTS_H_ |
| OLD | NEW |