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

Issue 462025: Better handling of allocation alignment in generated code... (Closed)

Created:
11 years ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Better handling of allocation alignment in generated code Calculate the aligned size of strings when allocating from generated code using kObjectAlignmentMask Add native code assert to make sure allocation from generated code keeps alignment. Committed: http://code.google.com/p/v8/source/detail?r=3415

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -11 lines) Patch
M src/ia32/codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 4 chunks +24 lines, -10 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
11 years ago (2009-12-03 22:07:25 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/462025/diff/1/3 File src/ia32/macro-assembler-ia32.cc (right): http://codereview.chromium.org/462025/diff/1/3#newcode690 src/ia32/macro-assembler-ia32.cc:690: #ifdef DEBUG Please use the flag debug_code, so ...
11 years ago (2009-12-04 07:33:11 UTC) #2
Søren Thygesen Gjesse
11 years ago (2009-12-04 07:57:22 UTC) #3
http://codereview.chromium.org/462025/diff/1/3
File src/ia32/macro-assembler-ia32.cc (right):

http://codereview.chromium.org/462025/diff/1/3#newcode690
src/ia32/macro-assembler-ia32.cc:690: #ifdef DEBUG
On 2009/12/04 07:33:12, Mads Ager wrote:
> Please use the flag debug_code, so that we only generate different code in
debug
> mode if passing that flag.

Done.

Powered by Google App Engine
This is Rietveld 408576698