DescriptionDon't generate useless string checks for string adds.
If we know that one side of a string add is definitely a string
(i.e. if it's a string constant), then we don't need to emit a
string check for the argument.
This adds a new BuildCheckString() method to the graph builder,
which does "the right thing".
TEST=mjsunit/string-add
R=mvstanton@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17912
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|