| 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 | 9 |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 6352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6363 }; | 6363 }; |
| 6364 | 6364 |
| 6365 | 6365 |
| 6366 // Script describes a script which has been added to the VM. | 6366 // Script describes a script which has been added to the VM. |
| 6367 class Script: public Struct { | 6367 class Script: public Struct { |
| 6368 public: | 6368 public: |
| 6369 // Script types. | 6369 // Script types. |
| 6370 enum Type { | 6370 enum Type { |
| 6371 TYPE_NATIVE = 0, | 6371 TYPE_NATIVE = 0, |
| 6372 TYPE_EXTENSION = 1, | 6372 TYPE_EXTENSION = 1, |
| 6373 TYPE_NORMAL = 2 | 6373 TYPE_NORMAL = 2, |
| 6374 TYPE_WASM = 3 |
| 6374 }; | 6375 }; |
| 6375 | 6376 |
| 6376 // Script compilation types. | 6377 // Script compilation types. |
| 6377 enum CompilationType { | 6378 enum CompilationType { |
| 6378 COMPILATION_TYPE_HOST = 0, | 6379 COMPILATION_TYPE_HOST = 0, |
| 6379 COMPILATION_TYPE_EVAL = 1 | 6380 COMPILATION_TYPE_EVAL = 1 |
| 6380 }; | 6381 }; |
| 6381 | 6382 |
| 6382 // Script compilation state. | 6383 // Script compilation state. |
| 6383 enum CompilationState { | 6384 enum CompilationState { |
| (...skipping 4419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10803 } | 10804 } |
| 10804 return value; | 10805 return value; |
| 10805 } | 10806 } |
| 10806 }; | 10807 }; |
| 10807 | 10808 |
| 10808 | 10809 |
| 10809 } // NOLINT, false-positive due to second-order macros. | 10810 } // NOLINT, false-positive due to second-order macros. |
| 10810 } // NOLINT, false-positive due to second-order macros. | 10811 } // NOLINT, false-positive due to second-order macros. |
| 10811 | 10812 |
| 10812 #endif // V8_OBJECTS_H_ | 10813 #endif // V8_OBJECTS_H_ |
| OLD | NEW |