Merge remote-tracking branch 'redux/master' into sh4-pool
[tamarin-stm.git] / core / api-versions.cpp
blob8524eff2ddb2072e0225ef3112f195de3ed54954
1 /* DO NOT EDIT THIS FILE! It was generated by utils/apivergen.abc. */
3 /* ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License+"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
16 * The Original Code is [Open Source Virtual Machine].
18 * The Initial Developer of the Original Code is
19 * Adobe System Incorporated.
20 * Portions created by the Initial Developer are Copyright (C) 2008
21 * the Initial Developer. All Rights Reserved.
23 * Contributor(s):
24 * Adobe AS3 Team
26 * Alternatively, the contents of this file may be used under the terms of
27 * either the GNU General Public License Version 2 or later (the "GPL+"), or
28 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK ***** */
40 namespace avmplus {
42 const char* const kApiVersionNames[kApiVersion_count] = {
43 "VM_ALLVERSIONS",
44 "AIR_1_0",
45 "FP_10_0",
46 "AIR_1_5",
47 "AIR_1_5_1",
48 "FP_10_0_32",
49 "AIR_1_5_2",
50 "FP_10_1",
51 "AIR_2_0",
52 "AIR_2_5",
53 "FP_10_2",
54 "AIR_2_6",
55 "SWF_12",
56 "AIR_2_7",
57 "SWF_13",
58 "AIR_3_0",
59 "VM_INTERNAL"
62 uint32_t const kApiVersionSeriesMembership[kApiVersion_count] = {
63 (1<<kApiVersionSeries_AIR)|(1<<kApiVersionSeries_FP),
64 (1<<kApiVersionSeries_AIR),
65 (1<<kApiVersionSeries_FP),
66 (1<<kApiVersionSeries_AIR),
67 (1<<kApiVersionSeries_AIR),
68 (1<<kApiVersionSeries_FP),
69 (1<<kApiVersionSeries_AIR),
70 (1<<kApiVersionSeries_FP),
71 (1<<kApiVersionSeries_AIR),
72 (1<<kApiVersionSeries_AIR),
73 (1<<kApiVersionSeries_FP),
74 (1<<kApiVersionSeries_AIR),
75 (1<<kApiVersionSeries_FP),
76 (1<<kApiVersionSeries_AIR),
77 (1<<kApiVersionSeries_FP),
78 (1<<kApiVersionSeries_AIR),
79 (1<<kApiVersionSeries_AIR)|(1<<kApiVersionSeries_FP)
82 // If a version is in an inactive series, what is the closest superset in the active series?
83 ApiVersion const kApiVersionSeriesTransfer[kApiVersion_count][kApiVersionSeries_count] = {
84 { kApiVersion_VM_ALLVERSIONS, kApiVersion_VM_ALLVERSIONS }, // VM_ALLVERSIONS
85 { kApiVersion_AIR_1_0, kApiVersion_VM_INTERNAL }, // AIR_1_0
86 { kApiVersion_AIR_1_5, kApiVersion_FP_10_0 }, // FP_10_0
87 { kApiVersion_AIR_1_5, kApiVersion_VM_INTERNAL }, // AIR_1_5
88 { kApiVersion_AIR_1_5_1, kApiVersion_VM_INTERNAL }, // AIR_1_5_1
89 { kApiVersion_AIR_1_5_2, kApiVersion_FP_10_0_32 }, // FP_10_0_32
90 { kApiVersion_AIR_1_5_2, kApiVersion_VM_INTERNAL }, // AIR_1_5_2
91 { kApiVersion_AIR_2_0, kApiVersion_FP_10_1 }, // FP_10_1
92 { kApiVersion_AIR_2_0, kApiVersion_VM_INTERNAL }, // AIR_2_0
93 { kApiVersion_AIR_2_5, kApiVersion_VM_INTERNAL }, // AIR_2_5
94 { kApiVersion_AIR_2_6, kApiVersion_FP_10_2 }, // FP_10_2
95 { kApiVersion_AIR_2_6, kApiVersion_VM_INTERNAL }, // AIR_2_6
96 { kApiVersion_AIR_2_7, kApiVersion_SWF_12 }, // SWF_12
97 { kApiVersion_AIR_2_7, kApiVersion_VM_INTERNAL }, // AIR_2_7
98 { kApiVersion_AIR_3_0, kApiVersion_SWF_13 }, // SWF_13
99 { kApiVersion_AIR_3_0, kApiVersion_VM_INTERNAL }, // AIR_3_0
100 { kApiVersion_VM_INTERNAL, kApiVersion_VM_INTERNAL } // VM_INTERNAL
103 ApiVersion const kApiVersionFirst[kApiVersionSeries_count] = {
104 kApiVersion_AIR_1_0,
105 kApiVersion_FP_10_0
108 ApiVersion const kApiVersionLatest[kApiVersionSeries_count] = {
109 kApiVersion_AIR_3_0,
110 kApiVersion_SWF_13