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

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

Issue 365983002: Make isolate specific stub code accessors instance methods instead (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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/dart_entry.cc ('k') | runtime/vm/flow_graph_compiler.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 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 465
466 const ICData* GetOrAddStaticCallICData(intptr_t deopt_id, 466 const ICData* GetOrAddStaticCallICData(intptr_t deopt_id,
467 const Function& target, 467 const Function& target,
468 const Array& arguments_descriptor, 468 const Array& arguments_descriptor,
469 intptr_t num_args_tested); 469 intptr_t num_args_tested);
470 470
471 const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data() const { 471 const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data() const {
472 return *deopt_id_to_ic_data_; 472 return *deopt_id_to_ic_data_;
473 } 473 }
474 474
475 Isolate* isolate() const { return isolate_; }
476
475 private: 477 private:
476 friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_. 478 friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_.
477 479
478 Isolate* isolate() const { return isolate_; }
479
480 void EmitFrameEntry(); 480 void EmitFrameEntry();
481 481
482 void AddStaticCallTarget(const Function& function); 482 void AddStaticCallTarget(const Function& function);
483 483
484 void GenerateDeferredCode(); 484 void GenerateDeferredCode();
485 485
486 void EmitInstructionPrologue(Instruction* instr); 486 void EmitInstructionPrologue(Instruction* instr);
487 void EmitInstructionEpilogue(Instruction* instr); 487 void EmitInstructionEpilogue(Instruction* instr);
488 488
489 // Emit code to load a Value into register 'dst'. 489 // Emit code to load a Value into register 'dst'.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 intptr_t lazy_deopt_pc_offset_; 619 intptr_t lazy_deopt_pc_offset_;
620 620
621 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; 621 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
622 622
623 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 623 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
624 }; 624 };
625 625
626 } // namespace dart 626 } // namespace dart
627 627
628 #endif // VM_FLOW_GRAPH_COMPILER_H_ 628 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698