Chromium Code Reviews| Index: pkg/compiler/lib/src/ssa/nodes.dart |
| diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart |
| index d047c7cede39b237fcc44316cae91b8fdb46b21c..01a76ee7b3be367e19ee928843be7e9d2b4e0249 100644 |
| --- a/pkg/compiler/lib/src/ssa/nodes.dart |
| +++ b/pkg/compiler/lib/src/ssa/nodes.dart |
| @@ -211,6 +211,14 @@ class HGraph { |
| compiler); |
| } |
| + HConstant addConstantStringFromName(js.Name name, |
| + Compiler compiler) { |
|
floitsch
2015/06/22 17:43:45
indentation.
herhut
2015/06/23 13:26:32
Done.
|
| + return addConstant( |
| + new SyntheticConstantValue(SyntheticConstantKind.NAME, |
| + js.quoteName(name)), |
| + compiler); |
| + } |
| + |
| HConstant addConstantBool(bool value, Compiler compiler) { |
| return addConstant( |
| compiler.backend.constantSystem.createBool(value), compiler); |