[webkit-reviews] review granted: [Bug 68582] DFG JIT does not support to_primitive or strcat : [Attachment 108297] the patch - fix style
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 22 10:36:13 PDT 2011
Darin Adler <darin at apple.com> has granted Filip Pizlo <fpizlo at apple.com>'s
request for review:
Bug 68582: DFG JIT does not support to_primitive or strcat
https://bugs.webkit.org/show_bug.cgi?id=68582
Attachment 108297: the patch - fix style
https://bugs.webkit.org/attachment.cgi?id=108297&action=review
------- Additional Comments from Darin Adler <darin at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=108297&action=review
> Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:166
> + // This is only here so that TrustedImmPtr(0) does not confuse the
C++
> + // overload handling rules.
I am a little confused by this. Why is it important to be able to compile
conversion from the constant 0 and not the constant 1?
> Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1552
> + // FIXME: add string speculation here.
Should capitalize the "a" in "Add".
> Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1611
> + for (int operandIdx = 0; operandIdx < (int)node.numChildren();
++operandIdx) {
Could we use size_t for this type instead of int, or is there a good reason to
use int and cast numChildren? Is it just that we don’t want to use a 64-bit
index?
More information about the webkit-reviews
mailing list