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

Side by Side Diff: runtime/vm/intermediate_language.cc

Issue 12049039: Fix source position for stack traces with optimized top function. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 #include "vm/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_allocator.h" 9 #include "vm/flow_graph_allocator.h"
10 #include "vm/flow_graph_builder.h" 10 #include "vm/flow_graph_builder.h"
(...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after
2003 ArgumentCount(), 2003 ArgumentCount(),
2004 argument_names(), 2004 argument_names(),
2005 locs()); 2005 locs());
2006 __ Bind(&skip_call); 2006 __ Bind(&skip_call);
2007 } 2007 }
2008 2008
2009 2009
2010 void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 2010 void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
2011 if (!is_eliminated()) { 2011 if (!is_eliminated()) {
2012 compiler->GenerateAssertAssignable(token_pos(), 2012 compiler->GenerateAssertAssignable(token_pos(),
2013 deopt_id(),
2013 dst_type(), 2014 dst_type(),
2014 dst_name(), 2015 dst_name(),
2015 locs()); 2016 locs());
2016 } 2017 }
2017 ASSERT(locs()->in(0).reg() == locs()->out().reg()); 2018 ASSERT(locs()->in(0).reg() == locs()->out().reg());
2018 } 2019 }
2019 2020
2020 2021
2021 Environment* Environment::From(const GrowableArray<Definition*>& definitions, 2022 Environment* Environment::From(const GrowableArray<Definition*>& definitions,
2022 intptr_t fixed_parameter_count, 2023 intptr_t fixed_parameter_count,
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 default: 2756 default:
2756 UNREACHABLE(); 2757 UNREACHABLE();
2757 } 2758 }
2758 return kPowRuntimeEntry; 2759 return kPowRuntimeEntry;
2759 } 2760 }
2760 2761
2761 2762
2762 #undef __ 2763 #undef __
2763 2764
2764 } // namespace dart 2765 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698