DescriptionRemove redundant checks in and around GenerateDictionaryLoad.
Similar or duplicate checks are scattered around the code before doing the dictionary load.
Also the entire branch in GenerateCallNormal that handles global/builtin receiver is
guaranteed to bail out from GenerateDictionaryLoad, so there is no point in generating it at all.
The purpose of the patch is:
- making C++ code more compact and transparent,
- not generating dead code.
There is a tiny performance gain. The patch is ia32 only for now.
Please tell me if I am missing anything.
Committed: http://code.google.com/p/v8/source/detail?r=4926
Patch Set 1 #
Total comments: 10
Patch Set 2 : '' #
Total comments: 12
Patch Set 3 : '' #
Messages
Total messages: 6 (0 generated)
|