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

Side by Side Diff: vm/code_generator_x64.cc

Issue 10173008: Simplify representation of stack frames. Remove the special types DartFrame/StubFrame and instead u… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « vm/code_generator_ia32.cc ('k') | vm/debugger.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) 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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/code_generator.h" 8 #include "vm/code_generator.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 2678 matching lines...) Expand 10 before | Expand all | Expand 10 after
2689 const ExternalLabel* ext_label, 2689 const ExternalLabel* ext_label,
2690 PcDescriptors::Kind desc_kind) { 2690 PcDescriptors::Kind desc_kind) {
2691 __ call(ext_label); 2691 __ call(ext_label);
2692 AddCurrentDescriptor(desc_kind, AstNode::kNoId, token_index); 2692 AddCurrentDescriptor(desc_kind, AstNode::kNoId, token_index);
2693 } 2693 }
2694 2694
2695 2695
2696 void CodeGenerator::GenerateCallRuntime(intptr_t node_id, 2696 void CodeGenerator::GenerateCallRuntime(intptr_t node_id,
2697 intptr_t token_index, 2697 intptr_t token_index,
2698 const RuntimeEntry& entry) { 2698 const RuntimeEntry& entry) {
2699 __ CallRuntimeFromDart(entry); 2699 __ CallRuntime(entry);
2700 AddCurrentDescriptor(PcDescriptors::kOther, node_id, token_index); 2700 AddCurrentDescriptor(PcDescriptors::kOther, node_id, token_index);
2701 } 2701 }
2702 2702
2703 2703
2704 void CodeGenerator::MarkDeoptPoint(intptr_t node_id, 2704 void CodeGenerator::MarkDeoptPoint(intptr_t node_id,
2705 intptr_t token_index) { 2705 intptr_t token_index) {
2706 ASSERT(node_id != AstNode::kNoId); 2706 ASSERT(node_id != AstNode::kNoId);
2707 AddCurrentDescriptor(PcDescriptors::kDeopt, node_id, token_index); 2707 AddCurrentDescriptor(PcDescriptors::kDeopt, node_id, token_index);
2708 } 2708 }
2709 2709
(...skipping 18 matching lines...) Expand all
2728 const Error& error = Error::Handle( 2728 const Error& error = Error::Handle(
2729 Parser::FormatError(script, token_index, "Error", format, args)); 2729 Parser::FormatError(script, token_index, "Error", format, args));
2730 va_end(args); 2730 va_end(args);
2731 Isolate::Current()->long_jump_base()->Jump(1, error); 2731 Isolate::Current()->long_jump_base()->Jump(1, error);
2732 UNREACHABLE(); 2732 UNREACHABLE();
2733 } 2733 }
2734 2734
2735 } // namespace dart 2735 } // namespace dart
2736 2736
2737 #endif // defined TARGET_ARCH_X64 2737 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « vm/code_generator_ia32.cc ('k') | vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698