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

Side by Side Diff: test/mjsunit/asm/embenchen/corrections.js

Issue 720793002: Fix copyright headers. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « test/mjsunit/asm/embenchen/copy.js ('k') | test/mjsunit/asm/embenchen/fannkuch.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 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 var EXPECTED_OUTPUT = 'final: 40006013:58243.\n'; 1 var EXPECTED_OUTPUT = 'final: 40006013:58243.\n';
6 var Module = { 2 var Module = {
7 arguments: [1], 3 arguments: [1],
8 print: function(x) {Module.printBuffer += x + '\n';}, 4 print: function(x) {Module.printBuffer += x + '\n';},
9 preRun: [function() {Module.printBuffer = ''}], 5 preRun: [function() {Module.printBuffer = ''}],
10 postRun: [function() { 6 postRun: [function() {
11 assertEquals(EXPECTED_OUTPUT, Module.printBuffer); 7 assertEquals(EXPECTED_OUTPUT, Module.printBuffer);
12 }], 8 }],
13 }; 9 };
14 // The Module object: Our interface to the outside world. We import 10 // The Module object: Our interface to the outside world. We import
(...skipping 5963 matching lines...) Expand 10 before | Expand all | Expand 10 after
5978 } 5974 }
5979 5975
5980 // shouldRunNow refers to calling main(), not run(). 5976 // shouldRunNow refers to calling main(), not run().
5981 var shouldRunNow = true; 5977 var shouldRunNow = true;
5982 if (Module['noInitialRun']) { 5978 if (Module['noInitialRun']) {
5983 shouldRunNow = false; 5979 shouldRunNow = false;
5984 } 5980 }
5985 5981
5986 5982
5987 run([].concat(Module["arguments"])); 5983 run([].concat(Module["arguments"]));
OLDNEW
« no previous file with comments | « test/mjsunit/asm/embenchen/copy.js ('k') | test/mjsunit/asm/embenchen/fannkuch.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698