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

Issue 929313002: Use an enum in embedded_names as input to JS_GET_NAME. (Closed)

Created:
5 years, 10 months ago by herhut
Modified:
5 years, 10 months ago
Reviewers:
floitsch, sra1
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use an enum in embedded_names as input to JS_GET_NAME. BUG= R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=43869 Reverted: https://code.google.com/p/dart/source/detail?r=43943

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase + comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -41 lines) Patch
M pkg/compiler/lib/src/js_backend/backend.dart View 1 3 chunks +7 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 1 1 chunk +16 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 1 chunk +8 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/foreign_helper.dart View 2 chunks +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_helper.dart View 1 8 chunks +19 lines, -14 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_mirrors.dart View 7 chunks +8 lines, -6 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_names.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart View 1 1 chunk +15 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
herhut
5 years, 10 months ago (2015-02-17 14:11:51 UTC) #1
floitsch
LGTM! (in the future we should make the entries lower-case, and potentially change the name, ...
5 years, 10 months ago (2015-02-18 13:00:44 UTC) #2
herhut
https://codereview.chromium.org/929313002/diff/1/pkg/compiler/lib/src/js_backend/namer.dart File pkg/compiler/lib/src/js_backend/namer.dart (right): https://codereview.chromium.org/929313002/diff/1/pkg/compiler/lib/src/js_backend/namer.dart#newcode320 pkg/compiler/lib/src/js_backend/namer.dart:320: assert(invariant(node, "Missing JsGetName value in namer!")); On 2015/02/18 13:00:44, ...
5 years, 10 months ago (2015-02-19 10:27:28 UTC) #3
herhut
Committed patchset #2 (id:20001) manually as 43869 (presubmit successful).
5 years, 10 months ago (2015-02-19 10:28:43 UTC) #5
sra1
5 years, 10 months ago (2015-02-19 17:52:52 UTC) #7
Message was sent while issue was closed.
I'm not sure what the motivation for this change is.
The comment does not say.

However, is has a serious impact on some benchmarks so it needs to be pulled for
fixed for 1.9

Powered by Google App Engine
This is Rietveld 408576698