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

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

Issue 10919004: Revert "Inlining of static calls with trivial function bodies." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/flow_graph_inliner.cc ('k') | runtime/vm/vm_sources.gypi » ('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 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 2581 matching lines...) Expand 10 before | Expand all | Expand 10 after
2592 void set_start_env(Environment* env) { start_env_ = env; } 2592 void set_start_env(Environment* env) { start_env_ = env; }
2593 2593
2594 Definition* constant_null() const { return constant_null_; } 2594 Definition* constant_null() const { return constant_null_; }
2595 2595
2596 intptr_t spill_slot_count() const { return spill_slot_count_; } 2596 intptr_t spill_slot_count() const { return spill_slot_count_; }
2597 void set_spill_slot_count(intptr_t count) { 2597 void set_spill_slot_count(intptr_t count) {
2598 ASSERT(count >= 0); 2598 ASSERT(count >= 0);
2599 spill_slot_count_ = count; 2599 spill_slot_count_ = count;
2600 } 2600 }
2601 2601
2602 TargetEntryInstr* normal_entry() const { return normal_entry_; }
2603
2604 private: 2602 private:
2605 TargetEntryInstr* normal_entry_; 2603 TargetEntryInstr* normal_entry_;
2606 GrowableArray<TargetEntryInstr*> catch_entries_; 2604 GrowableArray<TargetEntryInstr*> catch_entries_;
2607 Environment* start_env_; 2605 Environment* start_env_;
2608 Definition* constant_null_; 2606 Definition* constant_null_;
2609 intptr_t spill_slot_count_; 2607 intptr_t spill_slot_count_;
2610 2608
2611 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr); 2609 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr);
2612 }; 2610 };
2613 2611
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
3262 ForwardInstructionIterator* current_iterator_; 3260 ForwardInstructionIterator* current_iterator_;
3263 3261
3264 private: 3262 private:
3265 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 3263 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
3266 }; 3264 };
3267 3265
3268 3266
3269 } // namespace dart 3267 } // namespace dart
3270 3268
3271 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 3269 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698