Reviewers: danno, Søren Gjesse,

Description:
Disentangle printing of stub names and memory allocation.

Using a C++-style method PrintName (a.k.a. << ;-), things get a lot easier when
two unrelated concerns are separated. Stubs don't need a name cache anymore,
simpler code while generating the stub name, memory allocation is centralized,
etc.

Please review this at http://codereview.chromium.org/7342042/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/arm/code-stubs-arm.h
  M     src/arm/code-stubs-arm.cc
  M     src/code-stubs.h
  M     src/code-stubs.cc
  M     src/ia32/code-stubs-ia32.h
  M     src/ia32/code-stubs-ia32.cc
  M     src/mips/code-stubs-mips.h
  M     src/mips/code-stubs-mips.cc
  M     src/x64/code-stubs-x64.h
  M     src/x64/code-stubs-x64.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to