Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
| =================================================================== |
| --- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 19909) |
| +++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy) |
| @@ -1477,12 +1477,18 @@ |
| FunctionSignature functionSignature = body.computeSignature(compiler); |
| + // Provide the parameters to the generative constructor body. |
| functionSignature.orderedForEachParameter((parameter) { |
| - // if [parameter] is boxed, it will be a field in the box passed as the |
| + // If [parameter] is boxed, it will be a field in the box passed as the |
| // last parameter. So no need to direclty pass it. |
|
kasperl
2013/03/13 09:43:47
direclty -> directly
ngeoffray
2013/03/13 09:55:28
Done.
|
| if (!localsHandler.isBoxed(parameter)) { |
| bodyCallInputs.add(localsHandler.readLocal(parameter)); |
| } |
| + }); |
| + |
| + // Provide the parameter checks to the generative constructor |
| + // body. |
| + functionSignature.orderedForEachParameter((parameter) { |
| // If [parameter] is checked, we pass the already computed |
| // boolean to the constructor body. |
| if (elements.isParameterChecked(parameter)) { |