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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 19562003: Add support for IncrementCounter in Hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: And another try Created 7 years, 4 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 | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-codegen-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // Support for converting LOperands to assembler types. 100 // Support for converting LOperands to assembler types.
101 Register ToRegister(LOperand* op) const; 101 Register ToRegister(LOperand* op) const;
102 XMMRegister ToDoubleRegister(LOperand* op) const; 102 XMMRegister ToDoubleRegister(LOperand* op) const;
103 bool IsInteger32Constant(LConstantOperand* op) const; 103 bool IsInteger32Constant(LConstantOperand* op) const;
104 bool IsSmiConstant(LConstantOperand* op) const; 104 bool IsSmiConstant(LConstantOperand* op) const;
105 int ToRepresentation(LConstantOperand* op, const Representation& r) const; 105 int ToRepresentation(LConstantOperand* op, const Representation& r) const;
106 int32_t ToInteger32(LConstantOperand* op) const; 106 int32_t ToInteger32(LConstantOperand* op) const;
107 Smi* ToSmi(LConstantOperand* op) const; 107 Smi* ToSmi(LConstantOperand* op) const;
108 double ToDouble(LConstantOperand* op) const; 108 double ToDouble(LConstantOperand* op) const;
109 ExternalReference ToExternalReference(LConstantOperand* op) const;
109 bool IsTaggedConstant(LConstantOperand* op) const; 110 bool IsTaggedConstant(LConstantOperand* op) const;
110 Handle<Object> ToHandle(LConstantOperand* op) const; 111 Handle<Object> ToHandle(LConstantOperand* op) const;
111 Operand ToOperand(LOperand* op) const; 112 Operand ToOperand(LOperand* op) const;
112 113
113 // Try to generate code for the entire chunk, but it may fail if the 114 // Try to generate code for the entire chunk, but it may fail if the
114 // chunk contains constructs we cannot handle. Returns true if the 115 // chunk contains constructs we cannot handle. Returns true if the
115 // code generation attempt succeeded. 116 // code generation attempt succeeded.
116 bool GenerateCode(); 117 bool GenerateCode();
117 118
118 // Finish the code by setting stack height, safepoint, and bailout 119 // Finish the code by setting stack height, safepoint, and bailout
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 LCodeGen* codegen_; 428 LCodeGen* codegen_;
428 Label entry_; 429 Label entry_;
429 Label exit_; 430 Label exit_;
430 Label* external_exit_; 431 Label* external_exit_;
431 int instruction_index_; 432 int instruction_index_;
432 }; 433 };
433 434
434 } } // namespace v8::internal 435 } } // namespace v8::internal
435 436
436 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698