| 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..765ce056f68eca9f009a18814f801c045143a9f0 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) {
|
| + return addConstant(
|
| + new SyntheticConstantValue(SyntheticConstantKind.NAME,
|
| + js.quoteName(name)),
|
| + compiler);
|
| + }
|
| +
|
| HConstant addConstantBool(bool value, Compiler compiler) {
|
| return addConstant(
|
| compiler.backend.constantSystem.createBool(value), compiler);
|
|
|