forked from microsoft/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathV8CacheTypes.h
30 lines (25 loc) · 808 Bytes
/
V8CacheTypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
//-----------------------------------------------------------------------------
// V8CacheKind
//-----------------------------------------------------------------------------
enum class V8CacheKind: int32_t
{
// IMPORTANT: maintain bitwise equivalence with managed enum V8.V8CacheKind
None,
Parser,
Code
};
//-----------------------------------------------------------------------------
// V8CacheResult
//-----------------------------------------------------------------------------
enum class V8CacheResult : int32_t
{
// IMPORTANT: maintain bitwise equivalence with managed enum V8.V8CacheResult
Disabled,
Accepted,
Verified,
Updated,
UpdateFailed
};