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

Issue 2511513003: Fix ia32 build: there are no patchable calls on ia32 (Closed)

Created:
4 years, 1 month ago by kustermann
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix ia32 build: there are no patchable calls on ia32 Committed: https://github.com/dart-lang/sdk/commit/e2a08259e9056a393300c018ddbc72c0a28e6239

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +2 lines, -3 lines 3 comments Download

Messages

Total messages: 8 (2 generated)
kustermann
4 years, 1 month ago (2016-11-16 20:14:54 UTC) #2
kustermann
TBR (broke build)
4 years, 1 month ago (2016-11-16 20:15:16 UTC) #3
kustermann
Committed patchset #1 (id:1) manually as e2a08259e9056a393300c018ddbc72c0a28e6239 (presubmit successful).
4 years, 1 month ago (2016-11-16 20:15:27 UTC) #5
Florian Schneider
https://codereview.chromium.org/2511513003/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): https://codereview.chromium.org/2511513003/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode1102 runtime/vm/flow_graph_compiler_ia32.cc:1102: LocationSummary* locs) { I'd rather remove this method, and ...
4 years, 1 month ago (2016-11-16 20:37:03 UTC) #6
kustermann
https://codereview.chromium.org/2511513003/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): https://codereview.chromium.org/2511513003/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode1102 runtime/vm/flow_graph_compiler_ia32.cc:1102: LocationSummary* locs) { On 2016/11/16 20:37:03, Florian Schneider wrote: ...
4 years, 1 month ago (2016-11-16 20:45:32 UTC) #7
Florian Schneider
4 years, 1 month ago (2016-11-16 20:50:13 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2511513003/diff/1/runtime/vm/flow_graph_compi...
File runtime/vm/flow_graph_compiler_ia32.cc (right):

https://codereview.chromium.org/2511513003/diff/1/runtime/vm/flow_graph_compi...
runtime/vm/flow_graph_compiler_ia32.cc:1102: LocationSummary* locs) {
On 2016/11/16 20:45:32, kustermann wrote:
> On 2016/11/16 20:37:03, Florian Schneider wrote:
> > I'd rather remove this method, and replace the call-sites with GenerateCall.
> > 
> > This way, there will be a compile-time error if one want to generate a
> patchable
> > call on ia32.
> 
> I can do that - though it's slightly weired since the FlowGraphCompiler will
> still have the method declaration in the header file.

We do that already in many places. Sometimes we make the body just UNREACHABLE()
(e.g. if it is used a lot from architecture-independent code, but that's not the
case here)

Powered by Google App Engine
This is Rietveld 408576698