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

Issue 883263004: Allows turning on checked mode on a per-isolate basis (Closed)

Created:
5 years, 10 months ago by zra
Modified:
5 years, 10 months ago
Reviewers:
regis, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Allows turning on checked mode on a per-isolate basis using the embedding API. R=regis@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=43481

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -74 lines) Patch
M runtime/include/dart_api.h View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M runtime/lib/object.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/ast.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 8 chunks +9 lines, -7 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 12 chunks +17 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 chunks +25 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 7 chunks +7 lines, -7 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 13 chunks +15 lines, -15 lines 0 comments Download
M runtime/vm/service.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
zra
5 years, 10 months ago (2015-02-03 21:53:40 UTC) #2
srdjan
LGTM with comment https://codereview.chromium.org/883263004/diff/1/runtime/vm/ast.cc File runtime/vm/ast.cc (right): https://codereview.chromium.org/883263004/diff/1/runtime/vm/ast.cc#newcode518 runtime/vm/ast.cc:518: if (FLAG_enable_type_checks || Isolate::Current()->checked_mode()) { I ...
5 years, 10 months ago (2015-02-03 22:04:13 UTC) #3
regis
Plumbing LGTM, but I have comments regarding the naming of this API. https://codereview.chromium.org/883263004/diff/1/runtime/vm/class_finalizer.cc File runtime/vm/class_finalizer.cc ...
5 years, 10 months ago (2015-02-03 22:23:17 UTC) #4
zra
ptal Renamed checked_mode -> strict_compilation. Added a flag "has_compiled" to Isolate, which is set in ...
5 years, 10 months ago (2015-02-03 23:51:54 UTC) #6
regis
LGTM! https://codereview.chromium.org/883263004/diff/20001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/883263004/diff/20001/runtime/vm/dart_api_impl_test.cc#newcode3595 runtime/vm/dart_api_impl_test.cc:3595: "int bad2() {\n" not needed anymore https://codereview.chromium.org/883263004/diff/20001/runtime/vm/dart_api_impl_test.cc#newcode3600 runtime/vm/dart_api_impl_test.cc:3600: ...
5 years, 10 months ago (2015-02-04 00:00:58 UTC) #7
zra
Thanks! https://codereview.chromium.org/883263004/diff/20001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/883263004/diff/20001/runtime/vm/dart_api_impl_test.cc#newcode3595 runtime/vm/dart_api_impl_test.cc:3595: "int bad2() {\n" On 2015/02/04 00:00:58, regis wrote: ...
5 years, 10 months ago (2015-02-04 18:28:58 UTC) #9
zra
5 years, 10 months ago (2015-02-04 18:33:16 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as r43481 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698