comparison src/share/vm/prims/jvmtiHpp.xsl @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents c18cbe5936b8
children
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <!-- 2 <!--
3 Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. 3 Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 5
6 This code is free software; you can redistribute it and/or modify it 6 This code is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License version 2 only, as 7 under the terms of the GNU General Public License version 2 only, as
8 published by the Free Software Foundation. 8 published by the Free Software Foundation.
35 35
36 <xsl:template match="specification"> 36 <xsl:template match="specification">
37 <xsl:call-template name="includeHeader"/> 37 <xsl:call-template name="includeHeader"/>
38 <xsl:text> 38 <xsl:text>
39 39
40
41 #ifndef GENERATED_JVMTIFILES_JVMTIENV_HPP
42 #define GENERATED_JVMTIFILES_JVMTIENV_HPP
43
44 #include "prims/jvmtiEnvBase.hpp"
45 #include "prims/jvmtiImpl.hpp"
46
40 enum { 47 enum {
41 JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text> 48 JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text>
42 <xsl:value-of select="count(//capabilityfield)"/> 49 <xsl:value-of select="count(//capabilityfield)"/>
43 <xsl:text> 50 <xsl:text>
44 }; 51 };
57 64
58 </xsl:text> 65 </xsl:text>
59 <xsl:apply-templates select="functionsection"/> 66 <xsl:apply-templates select="functionsection"/>
60 <xsl:text> 67 <xsl:text>
61 }; 68 };
69
70 #endif // GENERATED_JVMTIFILES_JVMTIENV_HPP
62 </xsl:text> 71 </xsl:text>
63 </xsl:template> 72 </xsl:template>
64 73
65 <xsl:template match="functionsection"> 74 <xsl:template match="functionsection">
66 <xsl:apply-templates select="category"/> 75 <xsl:apply-templates select="category"/>