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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/full_emitter/code_emitter_helper.dart

Issue 1413213004: Move remaining helpers to BackendHelpers (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 part of dart2js.js_emitter.full_emitter; 5 part of dart2js.js_emitter.full_emitter;
6 6
7 class CodeEmitterHelper { 7 class CodeEmitterHelper {
8 Emitter emitter; 8 Emitter emitter;
9 9
10 Namer get namer => emitter.namer; 10 Namer get namer => emitter.namer;
11 11
12 JavaScriptBackend get backend => emitter.backend; 12 JavaScriptBackend get backend => emitter.backend;
13 13
14 BackendHelpers get helpers => backend.helpers;
15
14 CodeEmitterTask get task => emitter.task; 16 CodeEmitterTask get task => emitter.task;
15 17
16 Compiler get compiler => emitter.compiler; 18 Compiler get compiler => emitter.compiler;
17 19
18 DiagnosticReporter get reporter => compiler.reporter; 20 DiagnosticReporter get reporter => compiler.reporter;
19 21
20 String get n => emitter.n; 22 String get n => emitter.n;
21 23
22 String get _ => emitter._; 24 String get _ => emitter._;
23 25
24 String get N => emitter.N; 26 String get N => emitter.N;
25 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698