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

Unified Diff: runtime/vm/stack_frame_ia32.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/intermediate_language.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame_ia32.cc
diff --git a/runtime/vm/stack_frame_ia32.cc b/runtime/vm/stack_frame_ia32.cc
index 3e0689d5d24d299ec7895355f39f9721ceb94c74..1c1a9e697168c29710c544bb824ddebf4109a5ee 100644
--- a/runtime/vm/stack_frame_ia32.cc
+++ b/runtime/vm/stack_frame_ia32.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,8 +21,8 @@ static const int kSpOffsetFromPreviousFp = 2 * kWordSize;
static bool ExitedFromStub(uword exit_marker) {
if (exit_marker != 0) {
uword caller_pc = *reinterpret_cast<uword*>(exit_marker + kWordSize);
- uword call_instr_pc = caller_pc - Call::InstructionLength();
- uword call_target = Call(call_instr_pc).TargetAddress();
+ uword call_instr_pc = caller_pc - CallPattern::InstructionLength();
+ uword call_target = CallPattern(call_instr_pc).TargetAddress();
return StubCode::InStubCallToRuntimeStubCode(call_target);
}
return false;
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698