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

Side by Side Diff: lib/compiler/implementation/ssa/nodes.dart

Issue 10828416: Small changes to get the compilation size of code importing dart:html shorter. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 interface HVisitor<R> { 5 interface HVisitor<R> {
6 R visitAdd(HAdd node); 6 R visitAdd(HAdd node);
7 R visitBailoutTarget(HBailoutTarget node); 7 R visitBailoutTarget(HBailoutTarget node);
8 R visitBitAnd(HBitAnd node); 8 R visitBitAnd(HBitAnd node);
9 R visitBitNot(HBitNot node); 9 R visitBitNot(HBitNot node);
10 R visitBitOr(HBitOr node); 10 R visitBitOr(HBitOr node);
(...skipping 2321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 bool typeEquals(other) => other is HStaticStore; 2332 bool typeEquals(other) => other is HStaticStore;
2333 bool dataEquals(HStaticStore other) => element == other.element; 2333 bool dataEquals(HStaticStore other) => element == other.element;
2334 bool isStatement(HTypeMap types) => true; 2334 bool isStatement(HTypeMap types) => true;
2335 } 2335 }
2336 2336
2337 class HLiteralList extends HInstruction { 2337 class HLiteralList extends HInstruction {
2338 HLiteralList(inputs) : super(inputs); 2338 HLiteralList(inputs) : super(inputs);
2339 toString() => 'literal list'; 2339 toString() => 'literal list';
2340 accept(HVisitor visitor) => visitor.visitLiteralList(this); 2340 accept(HVisitor visitor) => visitor.visitLiteralList(this);
2341 2341
2342 HType get guaranteedType => HType.MUTABLE_ARRAY; 2342 HType get guaranteedType => HType.EXTENDABLE_ARRAY;
2343 2343
2344 void prepareGvn(HTypeMap types) { 2344 void prepareGvn(HTypeMap types) {
2345 assert(!hasSideEffects(types)); 2345 assert(!hasSideEffects(types));
2346 } 2346 }
2347 } 2347 }
2348 2348
2349 class HIndex extends HInvokeStatic { 2349 class HIndex extends HInvokeStatic {
2350 HIndex(HStatic target, HInstruction receiver, HInstruction index) 2350 HIndex(HStatic target, HInstruction receiver, HInstruction index)
2351 : super(<HInstruction>[target, receiver, index]); 2351 : super(<HInstruction>[target, receiver, index]);
2352 toString() => 'index operator'; 2352 toString() => 'index operator';
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
2812 HBasicBlock get start => expression.start; 2812 HBasicBlock get start => expression.start;
2813 HBasicBlock get end { 2813 HBasicBlock get end {
2814 // We don't create a switch block if there are no cases. 2814 // We don't create a switch block if there are no cases.
2815 assert(!statements.isEmpty()); 2815 assert(!statements.isEmpty());
2816 return statements.last().end; 2816 return statements.last().end;
2817 } 2817 }
2818 2818
2819 bool accept(HStatementInformationVisitor visitor) => 2819 bool accept(HStatementInformationVisitor visitor) =>
2820 visitor.visitSwitchInfo(this); 2820 visitor.visitSwitchInfo(this);
2821 } 2821 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698