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

Issue 9046009: - Fix a couple near branches that were out of reach. (Closed)

Created:
8 years, 12 months ago by Ivan Posva
Modified:
8 years, 11 months ago
Reviewers:
regis, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Fix a couple near branches that were out of reach. - Implement slow case for AllocateContext and AllocateClosure stubs. Committed: https://code.google.com/p/dart/source/detail?r=2836

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -7 lines) Patch
M vm/code_generator_x64.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M vm/stub_code_x64.cc View 1 3 chunks +85 lines, -3 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Ivan Posva
8 years, 12 months ago (2011-12-27 18:51:06 UTC) #1
siva
lgtm http://codereview.chromium.org/9046009/diff/1/vm/stub_code_x64.cc File vm/stub_code_x64.cc (right): http://codereview.chromium.org/9046009/diff/1/vm/stub_code_x64.cc#newcode390 vm/stub_code_x64.cc:390: __ pushq(Immediate(0)); Should this be __ pushq(raw_null); ? ...
8 years, 12 months ago (2011-12-27 21:33:11 UTC) #2
Ivan Posva
http://codereview.chromium.org/9046009/diff/1/vm/stub_code_x64.cc File vm/stub_code_x64.cc (right): http://codereview.chromium.org/9046009/diff/1/vm/stub_code_x64.cc#newcode390 vm/stub_code_x64.cc:390: __ pushq(Immediate(0)); On 2011/12/27 21:33:11, asiva wrote: > Should ...
8 years, 12 months ago (2011-12-27 22:59:42 UTC) #3
regis
8 years, 11 months ago (2012-01-06 19:14:22 UTC) #4
LGTM

http://codereview.chromium.org/9046009/diff/5001/vm/stub_code_x64.cc
File vm/stub_code_x64.cc (right):

http://codereview.chromium.org/9046009/diff/5001/vm/stub_code_x64.cc#newcode1016
vm/stub_code_x64.cc:1016: //   at RSP + 4 instead of RSP + 8, since no type
arguments are passed.
The offsets + 4 and + 8 are not correct. I will fix that in my next cl.

http://codereview.chromium.org/9046009/diff/5001/vm/stub_code_x64.cc#newcode1020
vm/stub_code_x64.cc:1020: // Uses RAX, RBX, RCX, RDX as temporary registers.
Comment about used registers is not accurate either.

Powered by Google App Engine
This is Rietveld 408576698