aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2009-10-19 15:00:03 -0700
committerJesse Wilson <jessewilson@google.com>2009-10-19 16:00:58 -0700
commit96bb79c72e1a1d19e15dacdf5368da04d3356551 (patch)
tree91ab88195507deb314ebab8cbf2742f25b6f3a38 /vm/compiler/codegen/CompilerCodegen.h
parent51a3164b9d4e1b3277f07afd0bbd4df7740e01c7 (diff)
Tidy up Logger in preparation for optimizations.
Highlights: - Clean up documentation. Moved internal docs from variable use site to declaration site, especially for special cases around null. - Move default variable values to declaration - Move methods requiring LogManager synchronization to LogManager. This includes setLevelImpl(), forceChildsToInherit(), internalSetParent() and getLoggerWithRes(). - flip "if (null == foo)" to "if (foo == null)" for readability - Rename updateResourceBundle to initResourceBundle. Made method non-static. - Rename initHandler to initHandlers; changed the method to short circuit on negative 'handlerInited' cases. - Flipped "internalIsLoggable" methods to short-circuit. - Expose variables used by LogManager as package-private. For example, the childs variable is only used by LogManager, but previously it went through the Logger class each time it was used.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions