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

Side by Side Diff: tests/compiler/dart2js/value_range2_test.dart

Issue 11358024: Changes outside pkg/ and lib/ for directory refactoring (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
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 import "../../../lib/compiler/implementation/ssa/ssa.dart"; 5 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart";
6 import "../../../lib/compiler/implementation/dart2jslib.dart"; 6 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart";
7 7
8 Value instructionValue = new InstructionValue(new HReturn(null)); 8 Value instructionValue = new InstructionValue(new HReturn(null));
9 Value lengthValue = new LengthValue(new HReturn(null)); 9 Value lengthValue = new LengthValue(new HReturn(null));
10 10
11 Range createSingleRange(Value value) => new Range(value, value); 11 Range createSingleRange(Value value) => new Range(value, value);
12 Range createSingleIntRange(int value) => createSingleRange(new IntValue(value)); 12 Range createSingleIntRange(int value) => createSingleRange(new IntValue(value));
13 Range createSingleInstructionRange() => createSingleRange(instructionValue); 13 Range createSingleInstructionRange() => createSingleRange(instructionValue);
14 Range createSingleLengthRange() => createSingleRange(lengthValue); 14 Range createSingleLengthRange() => createSingleRange(lengthValue);
15 Range createIntRange(int lower, int upper) { 15 Range createIntRange(int lower, int upper) {
16 return new Range(new IntValue(lower), new IntValue(upper)); 16 return new Range(new IntValue(lower), new IntValue(upper));
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 checkSubRange(_0_instruction, _0_length, null, _0_instruction.upper); 361 checkSubRange(_0_instruction, _0_length, null, _0_instruction.upper);
362 checkSubRange(_0_instruction, _0_instruction, null, _0_instruction.upper); 362 checkSubRange(_0_instruction, _0_instruction, null, _0_instruction.upper);
363 } 363 }
364 364
365 main() { 365 main() {
366 HInstruction.idCounter = 0; 366 HInstruction.idCounter = 0;
367 testAnd(); 367 testAnd();
368 testSub(); 368 testSub();
369 testNegate(); 369 testNegate();
370 } 370 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698