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

Issue 14812005: Cleanup deoptimization code to make it architecture independent (in progress). (Closed)

Created:
7 years, 7 months ago by regis
Modified:
7 years, 7 months ago
Reviewers:
zra, srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Cleanup deoptimization code to make it architecture independent (in progress). Implement some optimizing code on ARM in order to debug the above cleanup using inline_stack_frame_test (still skipped in the vm status file). This is not quite working yet, because CompilerDeoptInfo::CreateDeoptInfo makes assumptions about the stack layout that are not valid for ARM or MIPS. This will be cleaned up in a following cl. R=srdjan@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=22386

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -53 lines) Patch
M runtime/vm/code_generator.cc View 1 5 chunks +13 lines, -11 lines 0 comments Download
M runtime/vm/code_patcher_arm.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/code_patcher_ia32.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher_x64.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/constants_arm.h View 1 1 chunk +21 lines, -2 lines 0 comments Download
M runtime/vm/constants_ia32.h View 1 1 chunk +20 lines, -2 lines 0 comments Download
M runtime/vm/constants_mips.h View 1 1 chunk +23 lines, -2 lines 0 comments Download
M runtime/vm/constants_x64.h View 1 1 chunk +20 lines, -2 lines 0 comments Download
M runtime/vm/deopt_instructions.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/instructions_arm.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/instructions_arm.cc View 1 2 chunks +28 lines, -14 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 3 chunks +91 lines, -8 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 4 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
regis
7 years, 7 months ago (2013-05-03 00:40:27 UTC) #1
regis
https://codereview.chromium.org/14812005/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (left): https://codereview.chromium.org/14812005/diff/1/runtime/vm/code_generator.cc#oldcode1571 runtime/vm/code_generator.cc:1571: + 3 // caller-fp, pc, pc-marker. I think 3 ...
7 years, 7 months ago (2013-05-03 00:48:58 UTC) #2
zra
lgtm
7 years, 7 months ago (2013-05-03 15:59:59 UTC) #3
srdjan
LGTM https://codereview.chromium.org/14812005/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (left): https://codereview.chromium.org/14812005/diff/1/runtime/vm/code_generator.cc#oldcode1571 runtime/vm/code_generator.cc:1571: + 3 // caller-fp, pc, pc-marker. On 2013/05/03 ...
7 years, 7 months ago (2013-05-03 17:16:18 UTC) #4
regis
Thanks! https://codereview.chromium.org/14812005/diff/1/runtime/vm/code_patcher_arm.cc File runtime/vm/code_patcher_arm.cc (right): https://codereview.chromium.org/14812005/diff/1/runtime/vm/code_patcher_arm.cc#newcode43 runtime/vm/code_patcher_arm.cc:43: ASSERT(start + CallPattern::kFixedLengthInBytes <= target); On 2013/05/03 17:16:18, ...
7 years, 7 months ago (2013-05-03 18:34:12 UTC) #5
regis
7 years, 7 months ago (2013-05-03 18:39:50 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r22386 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698