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

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

Issue 11414136: Implement proposed new identity spec. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.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_X64_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_
7 7
8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_
9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h.
10 #endif 10 #endif
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 void EmitDoubleCompareBranch(Condition true_condition, 153 void EmitDoubleCompareBranch(Condition true_condition,
154 XmmRegister left, 154 XmmRegister left,
155 XmmRegister right, 155 XmmRegister right,
156 BranchInstr* branch); 156 BranchInstr* branch);
157 void EmitDoubleCompareBool(Condition true_condition, 157 void EmitDoubleCompareBool(Condition true_condition,
158 XmmRegister left, 158 XmmRegister left,
159 XmmRegister right, 159 XmmRegister right,
160 Register result); 160 Register result);
161 161
162 void EmitEqualityRegConstCompare(Register reg,
163 const Object& obj,
164 bool needs_number_check);
165 void EmitEqualityRegRegCompare(Register left,
166 Register right,
167 bool needs_number_check);
162 void EmitEqualityRegConstCompare(Register reg, const Object& obj); 168 void EmitEqualityRegConstCompare(Register reg, const Object& obj);
163 // Implement equality: if any of the arguments is null do identity check. 169 // Implement equality: if any of the arguments is null do identity check.
164 // Fallthrough calls super equality. 170 // Fallthrough calls super equality.
165 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call); 171 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call);
166 172
167 intptr_t StackSize() const; 173 intptr_t StackSize() const;
168 174
169 // Returns assembler label associated with the given block entry. 175 // Returns assembler label associated with the given block entry.
170 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; 176 Label* GetBlockLabel(BlockEntryInstr* block_entry) const;
171 177
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // that should be used when deoptimizing we store it in this variable. 346 // that should be used when deoptimizing we store it in this variable.
341 // In future AddDeoptStub should be moved out of the instruction template. 347 // In future AddDeoptStub should be moved out of the instruction template.
342 Environment* pending_deoptimization_env_; 348 Environment* pending_deoptimization_env_;
343 349
344 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 350 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
345 }; 351 };
346 352
347 } // namespace dart 353 } // namespace dart
348 354
349 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 355 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698