Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/javaClasses.cpp @ 3929:f94227b6117b
7090259: Fix hotspot sources to build with old compilers
Summary: Fixed warnings which prevent building VM with old compilers.
Reviewed-by: never
author | kvn |
---|---|
date | Tue, 13 Sep 2011 20:28:00 -0700 |
parents | c26de9aef2ed |
children | 8ed53447f690 |
comparison
equal
deleted
inserted
replaced
3928:0a63380c8ac8 | 3929:f94227b6117b |
---|---|
2699 // (For C2: keep this until we have throttling logic for uncommon traps.) | 2699 // (For C2: keep this until we have throttling logic for uncommon traps.) |
2700 if (k != NULL) { | 2700 if (k != NULL) { |
2701 instanceKlass* ik = instanceKlass::cast(k); | 2701 instanceKlass* ik = instanceKlass::cast(k); |
2702 methodOop m_normal = ik->lookup_method(vmSymbols::setTargetNormal_name(), vmSymbols::setTarget_signature()); | 2702 methodOop m_normal = ik->lookup_method(vmSymbols::setTargetNormal_name(), vmSymbols::setTarget_signature()); |
2703 methodOop m_volatile = ik->lookup_method(vmSymbols::setTargetVolatile_name(), vmSymbols::setTarget_signature()); | 2703 methodOop m_volatile = ik->lookup_method(vmSymbols::setTargetVolatile_name(), vmSymbols::setTarget_signature()); |
2704 guarantee(m_normal && m_volatile, "must exist"); | 2704 guarantee(m_normal != NULL && m_volatile != NULL, "must exist"); |
2705 m_normal->set_not_compilable_quietly(); | 2705 m_normal->set_not_compilable_quietly(); |
2706 m_volatile->set_not_compilable_quietly(); | 2706 m_volatile->set_not_compilable_quietly(); |
2707 } | 2707 } |
2708 } | 2708 } |
2709 | 2709 |