Reviewers: Lasse Reichstein,

Description:
Style cleanup of switches over Slot::Type in the nonoptimizing code
generator.

The Slot::Type enumeration has four values.  It should never be
necessary to use a default to handle the case of a value out of range
of the enumeration.  Doing so silences a useful warning when one of
the enumeration values is actually forgotten or when a new enumeration
value is added.


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

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

Affected files:
   M     src/arm/fast-codegen-arm.cc
   M     src/fast-codegen.cc
   M     src/ia32/fast-codegen-ia32.cc
   M     src/x64/fast-codegen-x64.cc


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

Reply via email to