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

Unified Diff: frog/leg/scanner/d8_scanner_bench.dart

Issue 9873021: Move frog/leg to lib/compiler/implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/leg/scanner/class_element_parser.dart ('k') | frog/leg/scanner/file_with_non_ascii.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/scanner/d8_scanner_bench.dart
===================================================================
--- frog/leg/scanner/d8_scanner_bench.dart (revision 5925)
+++ frog/leg/scanner/d8_scanner_bench.dart (working copy)
@@ -1,29 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#library('d8_scanner_bench');
-#import('../../lib/node/node.dart');
-#import('scannerlib.dart');
-#import('scanner_implementation.dart');
-#import('scanner_bench.dart');
-
-d8_read(String filename) native 'return read(filename)';
-
-class D8ScannerBench extends ScannerBench {
- int getBytes(String filename, void callback(bytes)) {
- // This actually returns a buffer, not a String.
- var s = d8_read(filename);
- callback(s);
- return s.length;
- }
-
- Scanner makeScanner(bytes) => new StringScanner(bytes);
-
- void checkExistence(String filename) {
- }
-}
-
-main() {
- new D8ScannerBench().main(argv);
-}
« no previous file with comments | « frog/leg/scanner/class_element_parser.dart ('k') | frog/leg/scanner/file_with_non_ascii.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698