DescriptionUse the "enum hack" to fix the SmiTagging constants.
The "enum hack" (see Item 2 of "Effective C++") is the only known
portable way to define constant integral values within template
classes. Fixes the weird work-arounds required for certain GCC
versions.
R=jarin@chromium.org, rossberg@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=23550
Patch Set 1 #Patch Set 2 : static_cast #Patch Set 3 : fix typo #
Total comments: 2
Patch Set 4 : Addressed comment #
Messages
Total messages: 7 (2 generated)
|