Mercurial > hg > truffle
comparison src/share/vm/oops/methodOop.hpp @ 2233:15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
Summary: Updated create.bat and ProjectCreator
Reviewed-by: brutisso, stefank, ohair
author | sla |
---|---|
date | Thu, 10 Feb 2011 13:03:22 +0100 |
parents | 3582bf76420e |
children | f77b3ec064b0 |
comparison
equal
deleted
inserted
replaced
2205:b83527d0482d | 2233:15d6977f04b0 |
---|---|
730 | 730 |
731 // Windows AMD64 + Apr 2005 PSDK with /O2 generates bad code for write_pair. | 731 // Windows AMD64 + Apr 2005 PSDK with /O2 generates bad code for write_pair. |
732 // Disabling optimization doesn't work for methods in header files | 732 // Disabling optimization doesn't work for methods in header files |
733 // so we force it to call through the non-optimized version in the .cpp. | 733 // so we force it to call through the non-optimized version in the .cpp. |
734 // It's gross, but it's the only way we can ensure that all callers are | 734 // It's gross, but it's the only way we can ensure that all callers are |
735 // fixed. MSC_VER is defined in build/windows/makefiles/compile.make. | 735 // fixed. _MSC_VER is defined by the windows compiler |
736 #if defined(_M_AMD64) && MSC_VER >= 1400 | 736 #if defined(_M_AMD64) && _MSC_VER >= 1400 |
737 void write_pair(int bci, int line); | 737 void write_pair(int bci, int line); |
738 #else | 738 #else |
739 void write_pair(int bci, int line) { write_pair_inline(bci, line); } | 739 void write_pair(int bci, int line) { write_pair_inline(bci, line); } |
740 #endif | 740 #endif |
741 | 741 |