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

Issue 17895002: The check for internalized strings relied on the fact that we had less (Closed)

Created:
7 years, 6 months ago by mvstanton
Modified:
7 years, 5 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

The check for internalized strings relied on the fact that we had less than 64 distinct InstanceTypes. We are hitting that boundary, so this check needs to be more comprehensive. In fact, two bits need to be tested: verify that kNotStringTag isn't set, and that kInternalizedTag is set. BUG= R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15358

Patch Set 1 #

Patch Set 2 : Minor fixes #

Total comments: 6

Patch Set 3 : Code comments #

Total comments: 2

Patch Set 4 : More comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -118 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 7 chunks +24 lines, -34 lines 0 comments Download
M src/arm/ic-arm.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 5 chunks +15 lines, -31 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/objects.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/objects-inl.h View 1 4 chunks +9 lines, -12 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 6 chunks +18 lines, -36 lines 0 comments Download
M src/x64/ic-x64.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mvstanton
Hi Yang, here is the code we discussed, thanks! --Michael
7 years, 6 months ago (2013-06-26 14:30:32 UTC) #1
Yang
On 2013/06/26 14:30:32, mvstanton wrote: > Hi Yang, here is the code we discussed, thanks! ...
7 years, 6 months ago (2013-06-26 15:00:17 UTC) #2
Yang
comments... https://codereview.chromium.org/17895002/diff/1009/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/17895002/diff/1009/src/arm/code-stubs-arm.cc#newcode6270 src/arm/code-stubs-arm.cc:6270: __ cmp(tmp1, Operand(kInternalizedTag | kStringTag)); See my comment ...
7 years, 6 months ago (2013-06-26 15:00:27 UTC) #3
mvstanton
Thanks Yang, I updated after your comments, --Michael https://codereview.chromium.org/17895002/diff/1009/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/17895002/diff/1009/src/arm/code-stubs-arm.cc#newcode6270 src/arm/code-stubs-arm.cc:6270: __ ...
7 years, 6 months ago (2013-06-26 16:09:37 UTC) #4
Yang
LGTM with one comment. https://codereview.chromium.org/17895002/diff/6002/src/x64/macro-assembler-x64.cc File src/x64/macro-assembler-x64.cc (right): https://codereview.chromium.org/17895002/diff/6002/src/x64/macro-assembler-x64.cc#newcode2322 src/x64/macro-assembler-x64.cc:2322: void MacroAssembler::JumpIfNotUniqueName(Register reg, This is ...
7 years, 6 months ago (2013-06-27 07:48:36 UTC) #5
mvstanton
Thanks Yang, I will submit. https://codereview.chromium.org/17895002/diff/6002/src/x64/macro-assembler-x64.cc File src/x64/macro-assembler-x64.cc (right): https://codereview.chromium.org/17895002/diff/6002/src/x64/macro-assembler-x64.cc#newcode2322 src/x64/macro-assembler-x64.cc:2322: void MacroAssembler::JumpIfNotUniqueName(Register reg, On ...
7 years, 5 months ago (2013-06-27 13:35:19 UTC) #6
mvstanton
7 years, 5 months ago (2013-06-27 13:39:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r15358 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698