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

Issue 10879010: Add named constants for all type codes (Closed)

Created:
8 years, 4 months ago by Søren Gjesse
Modified:
8 years, 4 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add named constants for all type codes R=ngeoffray@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=11211

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -37 lines) Patch
M lib/compiler/implementation/ssa/codegen.dart View 1 chunk +2 lines, -2 lines 2 comments Download
M lib/compiler/implementation/ssa/nodes.dart View 34 chunks +66 lines, -35 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Gjesse
8 years, 4 months ago (2012-08-22 14:01:02 UTC) #1
ngeoffray
LGTM! https://chromiumcodereview.appspot.com/10879010/diff/1/lib/compiler/implementation/ssa/codegen.dart File lib/compiler/implementation/ssa/codegen.dart (right): https://chromiumcodereview.appspot.com/10879010/diff/1/lib/compiler/implementation/ssa/codegen.dart#newcode1495 lib/compiler/implementation/ssa/codegen.dart:1495: if (Elements.isStaticOrTopLevelFunction(node.element) && Why this check? Why aren't ...
8 years, 4 months ago (2012-08-22 14:21:07 UTC) #2
Søren Gjesse
8 years, 4 months ago (2012-08-23 07:02:04 UTC) #3
http://codereview.chromium.org/10879010/diff/1/lib/compiler/implementation/ss...
File lib/compiler/implementation/ssa/codegen.dart (right):

http://codereview.chromium.org/10879010/diff/1/lib/compiler/implementation/ss...
lib/compiler/implementation/ssa/codegen.dart:1495: if
(Elements.isStaticOrTopLevelFunction(node.element) &&
On 2012/08/22 14:21:07, ngeoffray wrote:
> Why this check? Why aren't we unconditionally registering?

Good question. Removed.

Powered by Google App Engine
This is Rietveld 408576698