https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h
File src/ast-value-factory.h (right):

https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h#newcode148
src/ast-value-factory.h:148: bool ContainsDot() const { return type_ ==
NUMBER_WITH_DOT; }
On 2015/06/30 12:07:01, rossberg wrote:
Nit: IsFloating perhaps?

Left as is as per discussion.

https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h#newcode160
src/ast-value-factory.h:160: return smi_;
On 2015/06/30 12:07:01, rossberg wrote:
Nit: keep layout consistent

Done.

(Was a product of the git cl format autoformatter FWIW).

https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h#newcode193
src/ast-value-factory.h:193: NUMBER_WITH_DOT,
On 2015/06/30 12:07:01, rossberg wrote:
Nit: can we call this FLOATING?

Sticking with WITH_DOT as per discussion.

https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h#newcode218
src/ast-value-factory.h:218: void MarkWithDot() {
On 2015/06/30 12:07:01, rossberg wrote:
Get rid of this method and add an is_float flag parameter to the
AstValue(double) constructor instead.

Done, but with with_dot as per discussion.

https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h#newcode344
src/ast-value-factory.h:344: const AstValue* NewNumber(double number,
bool with_dot = false);
On 2015/06/30 12:07:01, rossberg wrote:
Nit: is_float?

Sticking with with_dot as per discussion.

https://codereview.chromium.org/1201783003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to