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

Side by Side Diff: dart/lib/compiler/implementation/js_backend/emitter_no_eval.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 js_backend;
6
7 class CodeEmitterNoEvalTask extends CodeEmitterTask { 5 class CodeEmitterNoEvalTask extends CodeEmitterTask {
8 CodeEmitterNoEvalTask(Compiler compiler, 6 CodeEmitterNoEvalTask(Compiler compiler,
9 Namer namer, 7 Namer namer,
10 bool generateSourceMap) 8 bool generateSourceMap)
11 : super(compiler, namer, generateSourceMap); 9 : super(compiler, namer, generateSourceMap);
12 10
13 String get generateGetterSetterFunction { 11 String get generateGetterSetterFunction {
14 return """ 12 return """
15 function() { 13 function() {
16 throw 'Internal Error: no dynamic generation of getters and setters allowed'; 14 throw 'Internal Error: no dynamic generation of getters and setters allowed';
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 generateSetter(member, name, buffer); 133 generateSetter(member, name, buffer);
136 } 134 }
137 if (needsCheckedSetter) { 135 if (needsCheckedSetter) {
138 assert(!needsSetter); 136 assert(!needsSetter);
139 emitComma(); 137 emitComma();
140 generateCheckedSetter(member, name, buffer); 138 generateCheckedSetter(member, name, buffer);
141 } 139 }
142 }); 140 });
143 } 141 }
144 } 142 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/js_backend/emitter.dart ('k') | dart/lib/compiler/implementation/js_backend/namer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698