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

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

Issue 23684059: Polymorphic inlining of [] operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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/object.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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 259
260 const Object& Value::BoundConstant() const { 260 const Object& Value::BoundConstant() const {
261 ASSERT(BindsToConstant()); 261 ASSERT(BindsToConstant());
262 ConstantInstr* constant = definition()->AsConstant(); 262 ConstantInstr* constant = definition()->AsConstant();
263 ASSERT(constant != NULL); 263 ASSERT(constant != NULL);
264 return constant->value(); 264 return constant->value();
265 } 265 }
266 266
267 267
268 GraphEntryInstr::GraphEntryInstr(const ParsedFunction& parsed_function, 268 GraphEntryInstr::GraphEntryInstr(const ParsedFunction* parsed_function,
269 TargetEntryInstr* normal_entry, 269 TargetEntryInstr* normal_entry,
270 intptr_t osr_id) 270 intptr_t osr_id)
271 : BlockEntryInstr(0, CatchClauseNode::kInvalidTryIndex), 271 : BlockEntryInstr(0, CatchClauseNode::kInvalidTryIndex),
272 parsed_function_(parsed_function), 272 parsed_function_(parsed_function),
273 normal_entry_(normal_entry), 273 normal_entry_(normal_entry),
274 catch_entries_(), 274 catch_entries_(),
275 initial_definitions_(), 275 initial_definitions_(),
276 osr_id_(osr_id), 276 osr_id_(osr_id),
277 entry_count_(0), 277 entry_count_(0),
278 spill_slot_count_(0), 278 spill_slot_count_(0),
(...skipping 2389 matching lines...) Expand 10 before | Expand all | Expand 10 after
2668 return kCosRuntimeEntry; 2668 return kCosRuntimeEntry;
2669 default: 2669 default:
2670 UNREACHABLE(); 2670 UNREACHABLE();
2671 } 2671 }
2672 return kSinRuntimeEntry; 2672 return kSinRuntimeEntry;
2673 } 2673 }
2674 2674
2675 #undef __ 2675 #undef __
2676 2676
2677 } // namespace dart 2677 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698