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

Issue 183203004: Fix r19564: Don't free decoder_ in ~Simulator(). (Closed)

Created:
6 years, 9 months ago by jbramley
Modified:
6 years, 9 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix r19564: Don't free decoder_ in ~Simulator(). The simulator never allocates decoder_, and it is always passed from the calling scope (if set at all). The caller should be responsible for deleting it. This fixes the failures in test-assembler-a64.cc. BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M src/a64/simulator-a64.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
jbramley
Jochen, is this the right fix?
6 years, 9 months ago (2014-02-27 17:54:48 UTC) #1
jochen (gone - plz use gerrit)
I think we should instead allocate the decoder in the test as well. For Simulator::current(), ...
6 years, 9 months ago (2014-02-27 22:43:49 UTC) #2
jbramley
On 2014/02/27 22:43:49, jochen (OOO from March 1) wrote: > I think we should instead ...
6 years, 9 months ago (2014-02-28 09:33:16 UTC) #3
jbramley
On 2014/02/28 09:33:16, jbramley wrote: > After having a quick look, I can't actually see ...
6 years, 9 months ago (2014-02-28 09:38:12 UTC) #4
jochen (gone - plz use gerrit)
On 2014/02/28 09:38:12, jbramley wrote: > On 2014/02/28 09:33:16, jbramley wrote: > > After having ...
6 years, 9 months ago (2014-02-28 09:45:04 UTC) #5
jochen (gone - plz use gerrit)
(I committed a fix for this to green the tree up)
6 years, 9 months ago (2014-02-28 10:45:00 UTC) #6
jbramley
6 years, 9 months ago (2014-02-28 12:39:57 UTC) #7
On 2014/02/28 10:45:00, jochen (OOO from March 1) wrote:
> (I committed a fix for this to green the tree up)

Thanks!

I think we could probably simplify the simulator constructors a bit, so I might
have a look at that to tidy things up.

Powered by Google App Engine
This is Rietveld 408576698