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

Issue 1898173005: vm: x64 disassembler fix (Closed)

Created:
4 years, 8 months ago by sra1
Modified:
4 years, 8 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

vm: x64 disassembler fix 1. Fixes printing of testb rdx,0x0x1 2. Print immediates in the range 0-9 as decimal. 3. Simplify printing of displacements. R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/e072ae33c6c58d925cd0ec48f0992d8c4d14affb

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename AppendToBuffer to Print #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -207 lines) Patch
M runtime/vm/disassembler_x64.cc View 1 2 48 chunks +213 lines, -207 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
sra1
I started out fixing testb rcx,0x0x1 which is clearly wrong. Since think testb rcx,1 is ...
4 years, 8 months ago (2016-04-19 19:35:48 UTC) #2
regis
LGTM Since all the helpers start with "Print", I would take this opportunity to rename ...
4 years, 8 months ago (2016-04-19 20:59:22 UTC) #3
sra1
Committed patchset #3 (id:40001) manually as e072ae33c6c58d925cd0ec48f0992d8c4d14affb (presubmit successful).
4 years, 8 months ago (2016-04-19 22:04:39 UTC) #5
sra1
4 years, 8 months ago (2016-04-19 23:32:39 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/1898173005/diff/1/runtime/vm/disassembler_x64.cc
File runtime/vm/disassembler_x64.cc (right):

https://codereview.chromium.org/1898173005/diff/1/runtime/vm/disassembler_x64...
runtime/vm/disassembler_x64.cc:563: if (value >= 0 && value <= 9) {
On 2016/04/19 20:59:22, regis wrote:
> ((value >= 0) && (value <= 9))

Done.

Powered by Google App Engine
This is Rietveld 408576698