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

Issue 1751008: Compute static type information for remaining expression types on x64 platfor... (Closed)

Created:
10 years, 8 months ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Compute static type information for remaining expression types on x64 platform. Committed: http://code.google.com/p/v8/source/detail?r=4481

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -59 lines) Patch
M src/ia32/codegen-ia32.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 7 chunks +63 lines, -51 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
10 years, 8 months ago (2010-04-22 14:41:24 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/1751008/diff/1/3 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/1751008/diff/1/3#newcode5738 src/x64/codegen-x64.cc:5738: ASSERT(kSmiValueSize == 32); Use STATIC_ASSERT for asserts that ...
10 years, 8 months ago (2010-04-23 06:59:56 UTC) #2
William Hesse
10 years, 8 months ago (2010-04-23 08:04:26 UTC) #3
http://codereview.chromium.org/1751008/diff/1/3
File src/x64/codegen-x64.cc (right):

http://codereview.chromium.org/1751008/diff/1/3#newcode5738
src/x64/codegen-x64.cc:5738: ASSERT(kSmiValueSize == 32);
On 2010/04/23 06:59:56, Lasse Reichstein wrote:
> Use STATIC_ASSERT for asserts that can be checked at compile time.

Done.

http://codereview.chromium.org/1751008/diff/1/3#newcode5764
src/x64/codegen-x64.cc:5764: } else if (operands_type.IsString()) {
On 2010/04/23 06:59:56, Lasse Reichstein wrote:
> You can do better here: The result is a string if either of the operands is a
> string. I.e.
> if (left.type_info().IsString() || right.type_info().IsString()) { ...

Done.

Powered by Google App Engine
This is Rietveld 408576698