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

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

Issue 23627009: Remove inlining restriction of calls to the == operator. (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 | « no previous file | runtime/vm/flow_graph_compiler_arm.cc » ('j') | runtime/vm/parser.cc » ('J')
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 Register result); 376 Register result);
377 377
378 void EmitEqualityRegConstCompare(Register reg, 378 void EmitEqualityRegConstCompare(Register reg,
379 const Object& obj, 379 const Object& obj,
380 bool needs_number_check, 380 bool needs_number_check,
381 intptr_t token_pos); 381 intptr_t token_pos);
382 void EmitEqualityRegRegCompare(Register left, 382 void EmitEqualityRegRegCompare(Register left,
383 Register right, 383 Register right,
384 bool needs_number_check, 384 bool needs_number_check,
385 intptr_t token_pos); 385 intptr_t token_pos);
386 // Implement equality: if any of the arguments is null do identity check.
387 // Fallthrough calls super equality.
388 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call);
389 386
390 void EmitTrySync(Instruction* instr, intptr_t try_index); 387 void EmitTrySync(Instruction* instr, intptr_t try_index);
391 388
392 intptr_t StackSize() const; 389 intptr_t StackSize() const;
393 390
394 // Returns assembler label associated with the given block entry. 391 // Returns assembler label associated with the given block entry.
395 Label* GetJumpLabel(BlockEntryInstr* block_entry) const; 392 Label* GetJumpLabel(BlockEntryInstr* block_entry) const;
396 bool WasCompacted(BlockEntryInstr* block_entry) const; 393 bool WasCompacted(BlockEntryInstr* block_entry) const;
397 394
398 // Returns true if there is a next block after the current one in 395 // Returns true if there is a next block after the current one in
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 // that should be used when deoptimizing we store it in this variable. 601 // that should be used when deoptimizing we store it in this variable.
605 // In future AddDeoptStub should be moved out of the instruction template. 602 // In future AddDeoptStub should be moved out of the instruction template.
606 Environment* pending_deoptimization_env_; 603 Environment* pending_deoptimization_env_;
607 604
608 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 605 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
609 }; 606 };
610 607
611 } // namespace dart 608 } // namespace dart
612 609
613 #endif // VM_FLOW_GRAPH_COMPILER_H_ 610 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_arm.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698