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

Side by Side Diff: lib/runtime/dart/math.js

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 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/dart/js.js ('k') | lib/runtime/dart/mirrors.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('dart/math', null, /* Imports */[ 1 dart_library.library('dart/math', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 'dart/_js_helper' 5 'dart/_js_helper'
6 ], function(exports, dart, core, _js_helper) { 6 ], function(exports, dart, core, _js_helper) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 class _JenkinsSmiHash extends core.Object { 9 class _JenkinsSmiHash extends core.Object {
10 static combine(hash, value) { 10 static combine(hash, value) {
11 hash = 536870911 & dart.notNull(hash) + dart.notNull(value); 11 hash = 536870911 & dart.notNull(hash) + dart.notNull(value);
12 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); 12 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10);
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 exports.sin = sin; 502 exports.sin = sin;
503 exports.cos = cos; 503 exports.cos = cos;
504 exports.tan = tan; 504 exports.tan = tan;
505 exports.acos = acos; 505 exports.acos = acos;
506 exports.asin = asin; 506 exports.asin = asin;
507 exports.atan = atan; 507 exports.atan = atan;
508 exports.sqrt = sqrt; 508 exports.sqrt = sqrt;
509 exports.exp = exp; 509 exports.exp = exp;
510 exports.log = log; 510 exports.log = log;
511 }); 511 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/js.js ('k') | lib/runtime/dart/mirrors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698