Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
| index ad006f8a43bc919bfeccba29bd739bc6395bd0eb..2476e29d59b8e56760fed9f692451d5e5f6f35d4 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
| @@ -184,6 +184,13 @@ class HGraph { |
| return result; |
| } |
| + HConstant addDeferredConstant(Constant constant, PrefixElement prefix, Compiler compiler) { |
|
Johnni Winther
2014/04/28 11:58:31
Long line.
sigurdm
2014/04/28 12:07:48
Done.
|
| + Constant wrapper = new DeferredConstant(constant, |
| + prefix); |
|
Johnni Winther
2014/04/28 11:58:31
Put this on one line.
sigurdm
2014/04/28 12:07:48
Done.
|
| + compiler.deferredLoadTask.registerConstantDeferredUse(wrapper, prefix); |
| + return addConstant(wrapper, compiler); |
| + } |
| + |
| HConstant addConstantInt(int i, Compiler compiler) { |
| return addConstant(compiler.backend.constantSystem.createInt(i), compiler); |
| } |