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

Issue 12438033: Write the magic number 0xf5f5dcdc into a script snapshot file and use this to distinguish whether a… (Closed)

Created:
7 years, 9 months ago by siva
Modified:
7 years, 9 months ago
Reviewers:
ahe, Anton Muhin, Ivan Posva
CC:
reviews_dartlang.org, aam-me
Visibility:
Public.

Description

Write the magic number 0xf5f5dcdc into a script snapshot file and use this to distinguish whether a script snapshot or a regular script file is being passed on the command line (removed the --use-script-snapshot option). Committed: https://code.google.com/p/dart/source/detail?r=20339

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -102 lines) Patch
M runtime/bin/dartutils.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 4 chunks +63 lines, -23 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 6 chunks +17 lines, -71 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/bin/dart2js View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M sdk/bin/dart2js.bat View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
siva
7 years, 9 months ago (2013-03-19 22:25:04 UTC) #1
Ivan Posva
https://codereview.chromium.org/12438033/diff/9001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/12438033/diff/9001/runtime/bin/dartutils.cc#newcode372 runtime/bin/dartutils.cc:372: Dart_Handle script_path = DartUtils::FilePathFromUri(resolved_script_uri, Does this mean that script ...
7 years, 9 months ago (2013-03-20 06:18:00 UTC) #2
ahe
Dart2js changes, LGTM https://chromiumcodereview.appspot.com/12438033/diff/9001/sdk/bin/dart2js File sdk/bin/dart2js (left): https://chromiumcodereview.appspot.com/12438033/diff/9001/sdk/bin/dart2js#oldcode44 sdk/bin/dart2js:44: echo Using snapshot "$SNAPSHOT" 1>&2 Could ...
7 years, 9 months ago (2013-03-20 06:59:28 UTC) #3
ahe
+Alexander who is working on fixing a bug in dart2js.bat.
7 years, 9 months ago (2013-03-20 09:23:14 UTC) #4
siva
https://chromiumcodereview.appspot.com/12438033/diff/9001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://chromiumcodereview.appspot.com/12438033/diff/9001/runtime/bin/dartutils.cc#newcode372 runtime/bin/dartutils.cc:372: Dart_Handle script_path = DartUtils::FilePathFromUri(resolved_script_uri, Yes, that was the intent. ...
7 years, 9 months ago (2013-03-20 20:57:20 UTC) #5
Ivan Posva
LGTM -ip
7 years, 9 months ago (2013-03-21 00:42:00 UTC) #6
siva
Anton, need to co-ordinate tomorrow regarding changing Dart_LoadScriptFromSnapshot to take an additional argument buffer_len.
7 years, 9 months ago (2013-03-21 00:55:17 UTC) #7
siva
7 years, 9 months ago (2013-03-21 18:47:55 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r20339 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698