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

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

Issue 144343002: Rename kDummyTokenIndex to kNoSourcePos (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language_arm.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/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/dart_entry.h" 9 #include "vm/dart_entry.h"
10 #include "vm/flow_graph_allocator.h" 10 #include "vm/flow_graph_allocator.h"
(...skipping 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after
1819 UNREACHABLE(); 1819 UNREACHABLE();
1820 return NULL; 1820 return NULL;
1821 } 1821 }
1822 1822
1823 1823
1824 void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 1824 void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1825 __ Bind(compiler->GetJumpLabel(this)); 1825 __ Bind(compiler->GetJumpLabel(this));
1826 if (!compiler->is_optimizing()) { 1826 if (!compiler->is_optimizing()) {
1827 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt, 1827 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt,
1828 deopt_id_, 1828 deopt_id_,
1829 Scanner::kDummyTokenIndex); 1829 Scanner::kNoSourcePos);
1830 } 1830 }
1831 if (HasParallelMove()) { 1831 if (HasParallelMove()) {
1832 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 1832 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
1833 } 1833 }
1834 } 1834 }
1835 1835
1836 1836
1837 LocationSummary* TargetEntryInstr::MakeLocationSummary(bool optimizing) const { 1837 LocationSummary* TargetEntryInstr::MakeLocationSummary(bool optimizing) const {
1838 // FlowGraphCompiler::EmitInstructionPrologue is not called for block 1838 // FlowGraphCompiler::EmitInstructionPrologue is not called for block
1839 // entry instructions, so this function is unused. If it becomes 1839 // entry instructions, so this function is unused. If it becomes
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
3100 case Token::kTRUNCDIV: return 0; 3100 case Token::kTRUNCDIV: return 0;
3101 case Token::kMOD: return 1; 3101 case Token::kMOD: return 1;
3102 default: UNIMPLEMENTED(); return -1; 3102 default: UNIMPLEMENTED(); return -1;
3103 } 3103 }
3104 } 3104 }
3105 3105
3106 3106
3107 #undef __ 3107 #undef __
3108 3108
3109 } // namespace dart 3109 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698