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

Issue 1099813006: fixes #146, JS globals were not understood by the renamer (Closed)

Created:
5 years, 8 months ago by Jennifer Messerly
Modified:
5 years, 8 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fixes #146, JS globals were not understood by the renamer there are two basic strategies to fix: we either provide globals to the renamer, or it determines them based on use. I went with the second approach, as it fits more naturally with the current code generator. R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/8cb39fcb122dfcf9d9244b9637196030b907fcd9

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -64 lines) Patch
M lib/runtime/dart/collection.js View 3 chunks +3 lines, -3 lines 0 comments Download
M lib/runtime/dart/core.js View 10 chunks +11 lines, -11 lines 0 comments Download
M lib/src/codegen/js_names.dart View 3 chunks +77 lines, -50 lines 1 comment Download
M lib/src/js/printer.dart View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Jennifer Messerly
https://codereview.chromium.org/1099813006/diff/20001/lib/src/codegen/js_names.dart File lib/src/codegen/js_names.dart (left): https://codereview.chromium.org/1099813006/diff/20001/lib/src/codegen/js_names.dart#oldcode66 lib/src/codegen/js_names.dart:66: visitIdentifier(Identifier node) { previously, we simply recorded usage of ...
5 years, 8 months ago (2015-04-22 16:19:53 UTC) #3
vsm
lgtm What do you think about listing the expected global symbols in the output? In ...
5 years, 8 months ago (2015-04-22 16:30:05 UTC) #4
Jennifer Messerly
On 2015/04/22 16:30:05, vsm wrote: > lgtm > > What do you think about listing ...
5 years, 8 months ago (2015-04-22 17:42:28 UTC) #5
Jennifer Messerly
5 years, 8 months ago (2015-04-22 17:43:58 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:20001) manually as
8cb39fcb122dfcf9d9244b9637196030b907fcd9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698