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

Issue 8662009: Porting r10023 and r10054 to x64 (pointer cache for external strings). (Closed)

Created:
9 years, 1 month ago by Yang
Modified:
9 years, 1 month ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Porting r10023 and r10054 to x64 (pointer cache for external strings). Committed: http://code.google.com/p/v8/source/detail?r=10058

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -154 lines) Patch
M src/codegen.h View 1 chunk +0 lines, -17 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 chunk +16 lines, -0 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 2 chunks +4 lines, -62 lines 0 comments Download
M src/x64/codegen-x64.h View 1 chunk +15 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 chunk +104 lines, -0 lines 3 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +5 lines, -75 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
Please take a look. This CL replaces http://codereview.chromium.org/8569008/ http://codereview.chromium.org/8662009/diff/1/src/x64/codegen-x64.cc File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/8662009/diff/1/src/x64/codegen-x64.cc#newcode397 src/x64/codegen-x64.cc:397: // ...
9 years, 1 month ago (2011-11-23 14:04:07 UTC) #1
Lasse Reichstein
9 years, 1 month ago (2011-11-24 09:52:55 UTC) #2
LGTM

http://codereview.chromium.org/8662009/diff/1/src/x64/codegen-x64.cc
File src/x64/codegen-x64.cc (right):

http://codereview.chromium.org/8662009/diff/1/src/x64/codegen-x64.cc#newcode408
src/x64/codegen-x64.cc:408: __ testb(result,
Immediate(kShortExternalStringTag));
kShortExternalStringMask

http://codereview.chromium.org/8662009/diff/1/src/x64/codegen-x64.cc#newcode438
src/x64/codegen-x64.cc:438: // Check whether the string is sequential. The only
non-sequential
Slightly confusing comment. How about something like:
"Distinguish sequential and external strings. Only these two string
representations can reach here (slices and flat cons strings have been reduced
to the underlying sequential or external string)."

Powered by Google App Engine
This is Rietveld 408576698