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

Issue 9474001: Allocate and finalize a code object on x64 if the new compiler succeeds. (Closed)

Created:
8 years, 10 months ago by Kevin Millikin (Google)
Modified:
8 years, 9 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Allocate and finalize a code object on x64 if the new compiler succeeds. If the new compiler completed, use the code that it produced. R=srdjan@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=4674

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -69 lines) Patch
M runtime/vm/code_generator_ia32.h View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/code_generator_ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/code_generator_x64.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/code_generator_x64.cc View 1 chunk +2 lines, -2 lines 1 comment Download
M runtime/vm/compiler.cc View 4 chunks +72 lines, -52 lines 5 comments Download
M runtime/vm/flow_graph_compiler_x64.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 3 chunks +24 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
This CL stands alone (though we bail out on everything because of the function's scope). ...
8 years, 10 months ago (2012-02-27 15:11:48 UTC) #1
srdjan
LGTM with comments http://codereview.chromium.org/9474001/diff/1/runtime/vm/code_generator_x64.cc File runtime/vm/code_generator_x64.cc (right): http://codereview.chromium.org/9474001/diff/1/runtime/vm/code_generator_x64.cc#newcode222 runtime/vm/code_generator_x64.cc:222: bool check_ids) { Move VerifyPcDescriptors out ...
8 years, 10 months ago (2012-02-28 00:23:39 UTC) #2
Kevin Millikin (Google)
8 years, 9 months ago (2012-02-29 14:24:24 UTC) #3
http://codereview.chromium.org/9474001/diff/1/runtime/vm/compiler.cc
File runtime/vm/compiler.cc (right):

http://codereview.chromium.org/9474001/diff/1/runtime/vm/compiler.cc#newcode129
runtime/vm/compiler.cc:129: int code_size = -1;  // Assembled code size needed
if --disassemble.
On 2012/02/28 00:23:39, srdjan wrote:
> Remove code_size, you can get it from Instructions::size()

Done.

Powered by Google App Engine
This is Rietveld 408576698