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

Unified Diff: runtime/vm/instructions_ia32_test.cc

Issue 9414003: Initial implementation of a flow-graph builder for Dart's AST. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rely on assumption that code can reach both branches of a condition. Created 8 years, 10 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 | « runtime/vm/instructions_ia32.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_ia32_test.cc
diff --git a/runtime/vm/instructions_ia32_test.cc b/runtime/vm/instructions_ia32_test.cc
index 1c1110b2f6329707c74eb54ddd586806cd9eeb16..ec50b121937cf0889de1aaf5549ff0e9ca7e185a 100644
--- a/runtime/vm/instructions_ia32_test.cc
+++ b/runtime/vm/instructions_ia32_test.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, 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.
@@ -21,7 +21,7 @@ ASSEMBLER_TEST_GENERATE(Call, assembler) {
ASSEMBLER_TEST_RUN(Call, entry) {
- Call call(entry);
+ CallPattern call(entry);
EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(), call.TargetAddress());
}
@@ -34,10 +34,10 @@ ASSEMBLER_TEST_GENERATE(Jump, assembler) {
ASSEMBLER_TEST_RUN(Jump, entry) {
- Jump jump1(entry);
+ JumpPattern jump1(entry);
EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(),
jump1.TargetAddress());
- Jump jump2(entry + jump1.pattern_length_in_bytes());
+ JumpPattern jump2(entry + jump1.pattern_length_in_bytes());
EXPECT_EQ(StubCode::OptimizeInvokedFunctionLabel().address(),
jump2.TargetAddress());
uword target1 = jump1.TargetAddress();
« no previous file with comments | « runtime/vm/instructions_ia32.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698