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

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

Issue 23672011: Fix the previously ineffective assert checking the number of arguments passed to (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/assembler_x64.cc ('k') | runtime/vm/flow_graph_compiler_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) 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 void VisitBlocks(); 278 void VisitBlocks();
279 279
280 // Bail out of the flow graph compiler. Does not return to the caller. 280 // Bail out of the flow graph compiler. Does not return to the caller.
281 void Bailout(const char* reason); 281 void Bailout(const char* reason);
282 282
283 void TryIntrinsify(); 283 void TryIntrinsify();
284 284
285 void GenerateCallRuntime(intptr_t token_pos, 285 void GenerateCallRuntime(intptr_t token_pos,
286 intptr_t deopt_id, 286 intptr_t deopt_id,
287 const RuntimeEntry& entry, 287 const RuntimeEntry& entry,
288 intptr_t argument_count,
288 LocationSummary* locs); 289 LocationSummary* locs);
289 290
290 void GenerateCall(intptr_t token_pos, 291 void GenerateCall(intptr_t token_pos,
291 const ExternalLabel* label, 292 const ExternalLabel* label,
292 PcDescriptors::Kind kind, 293 PcDescriptors::Kind kind,
293 LocationSummary* locs); 294 LocationSummary* locs);
294 295
295 void GenerateDartCall(intptr_t deopt_id, 296 void GenerateDartCall(intptr_t deopt_id,
296 intptr_t token_pos, 297 intptr_t token_pos,
297 const ExternalLabel* label, 298 const ExternalLabel* label,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // that should be used when deoptimizing we store it in this variable. 603 // that should be used when deoptimizing we store it in this variable.
603 // In future AddDeoptStub should be moved out of the instruction template. 604 // In future AddDeoptStub should be moved out of the instruction template.
604 Environment* pending_deoptimization_env_; 605 Environment* pending_deoptimization_env_;
605 606
606 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 607 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
607 }; 608 };
608 609
609 } // namespace dart 610 } // namespace dart
610 611
611 #endif // VM_FLOW_GRAPH_COMPILER_H_ 612 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698