Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Issue 2813623003: [csa] Add IsNumber and IsNumberNormalized predicates (Closed)

Created:
3 years, 8 months ago by jgruber
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[csa] Add IsNumber and IsNumberNormalized predicates IsNumber returns true for Smi/HeapNumber arguments. IsNumberNormalized expects a number argument and returns true if it is either a Smi, or a HeapNumber with a value outside the Smi range. BUG= Review-Url: https://codereview.chromium.org/2813623003 Cr-Commit-Position: refs/heads/master@{#44556} Committed: https://chromium.googlesource.com/v8/v8/+/ea3bd03945a11bc1f30d926857a911b4159b7628

Patch Set 1 #

Patch Set 2 : Handle NaN #

Total comments: 2

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -6 lines) Patch
M src/builtins/builtins-regexp-gen.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M src/code-stub-assembler.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
jgruber
3 years, 8 months ago (2017-04-11 08:33:13 UTC) #6
cbruni
lgtm https://codereview.chromium.org/2813623003/diff/20001/src/builtins/builtins-regexp-gen.cc File src/builtins/builtins-regexp-gen.cc (right): https://codereview.chromium.org/2813623003/diff/20001/src/builtins/builtins-regexp-gen.cc#newcode1535 src/builtins/builtins-regexp-gen.cc:1535: CSA_ASSERT(this, IsNumber(index)); nit: not needed then as IsNumberNormalized ...
3 years, 8 months ago (2017-04-11 09:10:54 UTC) #10
jgruber
https://codereview.chromium.org/2813623003/diff/20001/src/builtins/builtins-regexp-gen.cc File src/builtins/builtins-regexp-gen.cc (right): https://codereview.chromium.org/2813623003/diff/20001/src/builtins/builtins-regexp-gen.cc#newcode1535 src/builtins/builtins-regexp-gen.cc:1535: CSA_ASSERT(this, IsNumber(index)); On 2017/04/11 09:10:54, cbruni wrote: > nit: ...
3 years, 8 months ago (2017-04-11 09:54:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2813623003/40001
3 years, 8 months ago (2017-04-11 09:55:13 UTC) #14
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-11 09:55:15 UTC) #16
Camillo Bruni
lgtm
3 years, 8 months ago (2017-04-11 09:57:07 UTC) #17
Camillo Bruni
On 2017/04/11 at 09:57:07, Camillo Bruni wrote: > lgtm sorry... accidentally used my corp account.
3 years, 8 months ago (2017-04-11 09:57:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2813623003/40001
3 years, 8 months ago (2017-04-11 09:58:33 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 10:28:21 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/ea3bd03945a11bc1f30d926857a911b4159...

Powered by Google App Engine
This is Rietveld 408576698