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

Issue 10911159: - Add a test case to test Source code generation of all the corelibs (Closed)

Created:
8 years, 3 months ago by siva
Modified:
8 years, 3 months ago
Reviewers:
hausner, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Add a test case to test Source code generation of all the corelibs (core, coreimpl, isolate, math and mirrors). - Fix bugs in source code generation which were causing the above tests to fail. (This should take care of issue 4647 and related bugs).

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -55 lines) Patch
M vm/object.h View 1 6 chunks +6 lines, -5 lines 0 comments Download
M vm/object.cc View 1 8 chunks +100 lines, -31 lines 2 comments Download
M vm/snapshot_test.cc View 1 2 chunks +70 lines, -19 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
siva
8 years, 3 months ago (2012-09-07 21:46:19 UTC) #1
hausner
lgtm https://chromiumcodereview.appspot.com/10911159/diff/1/vm/snapshot_test.cc File vm/snapshot_test.cc (right): https://chromiumcodereview.appspot.com/10911159/diff/1/vm/snapshot_test.cc#newcode730 vm/snapshot_test.cc:730: static void GenerateSourceAndCheck(const Script& script) { You could ...
8 years, 3 months ago (2012-09-07 22:12:29 UTC) #2
siva
https://chromiumcodereview.appspot.com/10911159/diff/1/vm/snapshot_test.cc File vm/snapshot_test.cc (right): https://chromiumcodereview.appspot.com/10911159/diff/1/vm/snapshot_test.cc#newcode730 vm/snapshot_test.cc:730: static void GenerateSourceAndCheck(const Script& script) { Good point. Passed ...
8 years, 3 months ago (2012-09-09 04:57:29 UTC) #3
Ivan Posva
LGTM. Thank you, -Ivan https://chromiumcodereview.appspot.com/10911159/diff/7002/vm/object.cc File vm/object.cc (right): https://chromiumcodereview.appspot.com/10911159/diff/7002/vm/object.cc#newcode5103 vm/object.cc:5103: // TODO(4995): Temp solution for ...
8 years, 3 months ago (2012-09-09 10:24:17 UTC) #4
Ivan Posva
8 years, 3 months ago (2012-09-09 10:31:58 UTC) #5
https://chromiumcodereview.appspot.com/10911159/diff/7002/vm/object.cc
File vm/object.cc (right):

https://chromiumcodereview.appspot.com/10911159/diff/7002/vm/object.cc#newcod...
vm/object.cc:5103: // TODO(4995): Temp solution for raw strings, this will break
On 2012/09/09 10:24:17, Ivan Posva wrote:
> I see two different options here to fix this current workaround: Either
> introduce a token kRAW_STRING or prepend a token AT before the string literal
> token. Obviously both of these would need some extra handling in the parser.

Of course I had another idea just after hitting send which does not need changes
to the parser: Preserve the fact that the string was a raw string in the literal
token.

Powered by Google App Engine
This is Rietveld 408576698