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

Issue 1705163003: Move native entry argument exception throwing code out of line (Closed)

Created:
4 years, 10 months ago by Cutch
Modified:
4 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move native entry argument exception throwing code out of line Also, disable tracing of natives and runtime calls in product mode. (stripped) dart_product before: 5385712 (stripped) dart_product after: 5307888 Reduction in size: 77824 bytes. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/7fbeb82a4caf5020cf5f9e2a29fb53ebffe06022

Patch Set 1 #

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -8 lines) Patch
M runtime/vm/native_arguments.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/native_entry.h View 2 chunks +5 lines, -6 lines 3 comments Download
M runtime/vm/native_entry.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry.h View 1 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
Cutch
4 years, 10 months ago (2016-02-18 15:31:46 UTC) #4
siva
lgtm https://codereview.chromium.org/1705163003/diff/20001/runtime/vm/native_entry.h File runtime/vm/native_entry.h (right): https://codereview.chromium.org/1705163003/diff/20001/runtime/vm/native_entry.h#newcode99 runtime/vm/native_entry.h:99: name ^= value; Not sure why we did ...
4 years, 10 months ago (2016-02-18 16:55:22 UTC) #5
Cutch
Committed patchset #2 (id:20001) manually as 7fbeb82a4caf5020cf5f9e2a29fb53ebffe06022 (presubmit successful).
4 years, 10 months ago (2016-02-18 17:04:01 UTC) #7
Cutch
https://codereview.chromium.org/1705163003/diff/20001/runtime/vm/native_entry.h File runtime/vm/native_entry.h (right): https://codereview.chromium.org/1705163003/diff/20001/runtime/vm/native_entry.h#newcode99 runtime/vm/native_entry.h:99: name ^= value; On 2016/02/18 16:55:22, siva wrote: > ...
4 years, 10 months ago (2016-02-18 17:04:41 UTC) #8
siva
4 years, 6 months ago (2016-05-27 23:47:24 UTC) #9
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/1705163003/diff/20001/runtime/vm/nativ...
File runtime/vm/native_entry.h (right):

https://chromiumcodereview.appspot.com/1705163003/diff/20001/runtime/vm/nativ...
runtime/vm/native_entry.h:99: name ^= value;
On 2016/02/18 17:04:41, Cutch wrote:
> On 2016/02/18 16:55:22, siva wrote:
> > Not sure why we did it this way and not as:
> > 
> > const type& name = type::Handle(zone, value);
> 
> That doesn't compile without first doing a RawCast on value.

Got it.

Powered by Google App Engine
This is Rietveld 408576698