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

Issue 2595553002: VM: [DBC] Fix more problems with lazy deopt. (Closed)

Created:
4 years ago by Vyacheslav Egorov (Google)
Modified:
4 years ago
Reviewers:
zra, Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: [DBC] Fix more problems with lazy deopt. Catch entries must record a lazy deoptimization descriptor because we patch catch entries if exception reaches a frame that has a pending lazy deoptimization. StringInterpolate instruction was recording an incorrect lazy deoptimization environment - on DBC we drop arguments from it because it is a part of the return sequence and not a part of the calling sequence like on other architectures. This means one needs to pass correct argument count down to RecordAfterCall(Helper). StringInterpolate however has argument count of 0 but internally emits a call with a single argument leading to a mismatch if RecordAfterCall is used. Use RecordAfterCallHelper instead. BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/e763fac3b79275efecc863d93a65c3b3e74e4794

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M runtime/vm/intermediate_language_dbc.cc View 2 chunks +15 lines, -2 lines 0 comments Download
M tests/language/vm/lazy_deopt_vm_test.dart View 1 chunk +1 line, -2 lines 1 comment Download

Messages

Total messages: 6 (2 generated)
Vyacheslav Egorov (Google)
Please take a look. This makes all tests pass on simdbc64 + hot-reload. We still ...
4 years ago (2016-12-20 12:56:57 UTC) #2
zra
lgtm
4 years ago (2016-12-20 15:59:18 UTC) #3
Vyacheslav Egorov (Google)
Committed patchset #1 (id:1) manually as e763fac3b79275efecc863d93a65c3b3e74e4794 (presubmit successful).
4 years ago (2016-12-20 16:30:10 UTC) #5
zra
4 years ago (2016-12-20 17:25:51 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2595553002/diff/1/tests/language/vm/lazy_deop...
File tests/language/vm/lazy_deopt_vm_test.dart (right):

https://codereview.chromium.org/2595553002/diff/1/tests/language/vm/lazy_deop...
tests/language/vm/lazy_deopt_vm_test.dart:1: // Copyright (c) 2016, the Dart
project authors.  Please see the AUTHORS file
It looks like this test has some Timeouts on the bots.

Powered by Google App Engine
This is Rietveld 408576698