DescriptionBetter codegen for '<expression> === void <literal>'.
Detect the pattern in both, the full compiler and crankshaft and generate direct pointer
comparisons. Along the way I cleaned up 'typeof <expression> == <string literal>' comparisons
as well by lifting platform independent code and checking the symmetric case.
BUG=v8:1440
TEST=cctest/test-api.cc
Committed: http://code.google.com/p/v8/source/detail?r=8420
Patch Set 1 #
Total comments: 10
Patch Set 2 : Applied your comments. #
Total comments: 2
Created: 9 years, 6 months ago
Messages
Total messages: 7 (0 generated)
|