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

Side by Side Diff: lib/runtime/dart_runtime.js

Issue 1291623005: Skip type checks on native JavaScriptObjects (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Skip type checks on JSOs Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/runtime/_types.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 dart_library.library('dart_runtime/dart', null, /* Imports */[ 5 dart_library.library('dart_runtime/dart', null, /* Imports */[
6 'dart_runtime/_classes', 6 'dart_runtime/_classes',
7 'dart_runtime/_errors', 7 'dart_runtime/_errors',
8 'dart_runtime/_generators', 8 'dart_runtime/_generators',
9 'dart_runtime/_operations', 9 'dart_runtime/_operations',
10 'dart_runtime/_rtti', 10 'dart_runtime/_rtti',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Renames 96 // Renames
97 exports.as = _export(operations.cast); 97 exports.as = _export(operations.cast);
98 exports.is = _export(operations.instanceOf); 98 exports.is = _export(operations.instanceOf);
99 99
100 // From types 100 // From types
101 exportFrom(types, [ 101 exportFrom(types, [
102 'bottom', 102 'bottom',
103 'definiteFunctionType', 103 'definiteFunctionType',
104 'dynamic', 104 'dynamic',
105 'functionType', 105 'functionType',
106 'jsobject',
106 'typedef', 107 'typedef',
107 'typeName', 108 'typeName',
108 'void', 109 'void',
109 ]); 110 ]);
110 111
111 // From rtti 112 // From rtti
112 exportFrom(rtti, [ 113 exportFrom(rtti, [
113 'fn', 114 'fn',
114 'realRuntimeType', 115 'realRuntimeType',
115 'runtimeType', 116 'runtimeType',
116 ]); 117 ]);
117 118
118 }); 119 });
OLDNEW
« no previous file with comments | « lib/runtime/_types.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698