diff options
| author | 2011-11-08 20:53:40 -0500 | |
|---|---|---|
| committer | 2011-11-09 10:14:11 -0500 | |
| commit | 3aa66fd01a2b5ddbb895dd0af983cb2b700fbdc3 (patch) | |
| tree | 4723ed30ef64776c506fce8c9aed2555a0bd9d46 /src/compiler/codegen/arm/MethodCodegenDriver.cc | |
| parent | fbd8456d22ff7deeaf872df6fc5b82aab39e799c (diff) | |
Hprof code cleanup.
This replaces a bunch of structs+functions with C++ objects
and member functions. It shortens names where unambiguous and
reduces visibility where plausible.
The main two changes are to create Hprof and HprofRecord classes
(from the hprof_record_t and hprof_context_t structs) and moves
functions into the classes. It uses stack allocation for the Hprof
object, which saves a few allocation-failure checks. And it uses
constructors and destructors rather than functions that do those
things.
This change should not alter behavior.
Change-Id: I62ce97fae3c1ba6e2ea89fdfdca915b013072868
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
0 files changed, 0 insertions, 0 deletions