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

Issue 10280003: Set up a variable so that the compiler script can be imported using an import map. (Closed)

Created:
8 years, 7 months ago by siva
Modified:
8 years, 7 months ago
Reviewers:
cshapiro
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Set up a variable so that the compiler script can be imported using an import map. Committed: https://code.google.com/p/dart/source/detail?r=7208

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -12 lines) Patch
M bin/run_vm_tests.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M vm/benchmark_test.h View 1 chunk +4 lines, -1 line 0 comments Download
M vm/benchmark_test.cc View 1 5 chunks +48 lines, -6 lines 0 comments Download
M vm/unit_test.h View 1 chunk +6 lines, -1 line 0 comments Download
M vm/unit_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
siva
8 years, 7 months ago (2012-05-01 21:30:27 UTC) #1
cshapiro
lgtm http://codereview.chromium.org/10280003/diff/1/vm/benchmark_test.cc File vm/benchmark_test.cc (right): http://codereview.chromium.org/10280003/diff/1/vm/benchmark_test.cc#newcode196 vm/benchmark_test.cc:196: char* ptr = strrchr(dart2js_path, File::PathSeparatorCharacter()); Why not assert ...
8 years, 7 months ago (2012-05-01 21:41:52 UTC) #2
siva
8 years, 7 months ago (2012-05-01 22:02:49 UTC) #3
http://codereview.chromium.org/10280003/diff/1/vm/benchmark_test.cc
File vm/benchmark_test.cc (right):

http://codereview.chromium.org/10280003/diff/1/vm/benchmark_test.cc#newcode196
vm/benchmark_test.cc:196: char* ptr = strrchr(dart2js_path,
File::PathSeparatorCharacter());
On 2012/05/01 21:41:52, cshapiro wrote:
> Why not assert that the path separator is 1 character long and use
> *File::PathSeparator() instead.  This eliminates the need for the new
function.

Done.

http://codereview.chromium.org/10280003/diff/1/vm/benchmark_test.cc#newcode207
vm/benchmark_test.cc:207: ptr = strrchr(dart2js_path,
File::PathSeparatorCharacter());
On 2012/05/01 21:41:52, cshapiro wrote:
> Same here.

Done.

Powered by Google App Engine
This is Rietveld 408576698