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

Issue 10834247: Use the correct oracle in TestContext::BuildBranch. (Closed)

Created:
8 years, 4 months ago by Sven Panne
Modified:
8 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Use the correct oracle in TestContext::BuildBranch. When inlining is being done, it is crucial to use the correct type feedback oracle with a given type feedback ID. To ensure this, TestContext now carries an oracle which is associated with the context's condition, and these are both used together in TestContext::BuildBranch. Note that in VisitReturnStatement and TryInline we are currently lucky that the oracles don't go out of sync in an observable way, but this will change when we inline setters. Therefore, there is no separate test case... Committed: https://code.google.com/p/v8/source/detail?r=12284

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M src/hydrogen.h View 3 chunks +4 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Sven Panne
8 years, 4 months ago (2012-08-09 11:38:35 UTC) #1
Michael Starzinger
8 years, 4 months ago (2012-08-09 11:42:28 UTC) #2
LGTM. As discussed offline, we cannot come up with a regression test for this.
But it will be covered by the upcoming setter inlining.

Powered by Google App Engine
This is Rietveld 408576698