Mercurial > hg > truffle
comparison src/share/vm/runtime/stubCodeGenerator.cpp @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | 2a47bd84841f |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681:126ea7725993 |
---|---|
51 StubCodeDesc* p = desc_for(pc); | 51 StubCodeDesc* p = desc_for(pc); |
52 return p == NULL ? NULL : p->name(); | 52 return p == NULL ? NULL : p->name(); |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 void StubCodeDesc::print() { | 56 void StubCodeDesc::print_on(outputStream* st) const { |
57 tty->print(group()); | 57 st->print(group()); |
58 tty->print("::"); | 58 st->print("::"); |
59 tty->print(name()); | 59 st->print(name()); |
60 tty->print(" [" INTPTR_FORMAT ", " INTPTR_FORMAT "[ (%d bytes)", begin(), end(), size_in_bytes()); | 60 st->print(" [" INTPTR_FORMAT ", " INTPTR_FORMAT "[ (%d bytes)", begin(), end(), size_in_bytes()); |
61 } | 61 } |
62 | |
63 | |
64 | 62 |
65 // Implementation of StubCodeGenerator | 63 // Implementation of StubCodeGenerator |
66 | 64 |
67 StubCodeGenerator::StubCodeGenerator(CodeBuffer* code) { | 65 StubCodeGenerator::StubCodeGenerator(CodeBuffer* code) { |
68 _masm = new MacroAssembler(code); | 66 _masm = new MacroAssembler(code); |