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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart

Issue 16004005: Fix generation of a bailout method when a BailoutTarget was in the middle of a loop/labeled block. … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/tracer.dart (revision 23325)
+++ sdk/lib/_internal/compiler/implementation/ssa/tracer.dart (working copy)
@@ -367,9 +367,7 @@
String visitInvokeConstructorBody(HInvokeConstructorBody invoke) {
String target = invoke.element.name.slowToString();
- int offset = HInvoke.ARGUMENTS_OFFSET + 1;
- List arguments = invoke.inputs.sublist(offset);
- return visitGenericInvoke("Invoke constructor body", target, arguments);
+ return visitGenericInvoke("Invoke constructor body", target, invoke.inputs);
}
String visitForeign(HForeign foreign) {
@@ -553,8 +551,12 @@
}
String visitTypeConversion(HTypeConversion node) {
+ assert(node.inputs.length <= 2);
+ String otherInput = (node.inputs.length == 2)
+ ? temporaryId(node.inputs[1])
+ : '';
return "TypeConversion: ${temporaryId(node.checkedInput)} to "
- "${node.instructionType}";
+ "${node.instructionType} $otherInput";
}
String visitRangeConversion(HRangeConversion node) {

Powered by Google App Engine
This is Rietveld 408576698