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

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

Issue 614993002: Rename Constant to ConstantValue and ConstExp to ConstantExpression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 3 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/native/ssa.dart
diff --git a/sdk/lib/_internal/compiler/implementation/native/ssa.dart b/sdk/lib/_internal/compiler/implementation/native/ssa.dart
index 44218f3c43ece0e9a1b2476e2cfc679c7e1adffe..0bd8d1b953f50022f35771a5b3cce7c89cfacca9 100644
--- a/sdk/lib/_internal/compiler/implementation/native/ssa.dart
+++ b/sdk/lib/_internal/compiler/implementation/native/ssa.dart
@@ -15,7 +15,7 @@ void handleSsaNative(SsaBuilder builder, Expression nativeBody) {
HInstruction convertDartClosure(ParameterElement parameter,
FunctionType type) {
HInstruction local = builder.localsHandler.readLocal(parameter);
- Constant arityConstant =
+ ConstantValue arityConstant =
builder.constantSystem.createInt(type.computeArity());
HInstruction arity = builder.graph.addConstant(arityConstant, compiler);
// TODO(ngeoffray): For static methods, we could pass a method with a

Powered by Google App Engine
This is Rietveld 408576698