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

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

Issue 321373002: Update Lithium AddI, SubI, MulI, BitI, ShiftI, MathMinMax to support x32 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 #include "src/x64/lithium-x64.h" 8 #include "src/x64/lithium-x64.h"
9 9
10 #include "src/checks.h" 10 #include "src/checks.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 bool NeedsDeferredFrame() const { 58 bool NeedsDeferredFrame() const {
59 return !NeedsEagerFrame() && info()->is_deferred_calling(); 59 return !NeedsEagerFrame() && info()->is_deferred_calling();
60 } 60 }
61 61
62 // Support for converting LOperands to assembler types. 62 // Support for converting LOperands to assembler types.
63 Register ToRegister(LOperand* op) const; 63 Register ToRegister(LOperand* op) const;
64 XMMRegister ToDoubleRegister(LOperand* op) const; 64 XMMRegister ToDoubleRegister(LOperand* op) const;
65 bool IsInteger32Constant(LConstantOperand* op) const; 65 bool IsInteger32Constant(LConstantOperand* op) const;
66 bool IsDehoistedKeyConstant(LConstantOperand* op) const; 66 bool IsDehoistedKeyConstant(LConstantOperand* op) const;
67 bool IsSmiConstant(LConstantOperand* op) const; 67 bool IsSmiConstant(LConstantOperand* op) const;
68 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const;
68 int32_t ToInteger32(LConstantOperand* op) const; 69 int32_t ToInteger32(LConstantOperand* op) const;
69 Smi* ToSmi(LConstantOperand* op) const; 70 Smi* ToSmi(LConstantOperand* op) const;
70 double ToDouble(LConstantOperand* op) const; 71 double ToDouble(LConstantOperand* op) const;
71 ExternalReference ToExternalReference(LConstantOperand* op) const; 72 ExternalReference ToExternalReference(LConstantOperand* op) const;
72 Handle<Object> ToHandle(LConstantOperand* op) const; 73 Handle<Object> ToHandle(LConstantOperand* op) const;
73 Operand ToOperand(LOperand* op) const; 74 Operand ToOperand(LOperand* op) const;
74 75
75 // Try to generate code for the entire chunk, but it may fail if the 76 // Try to generate code for the entire chunk, but it may fail if the
76 // chunk contains constructs we cannot handle. Returns true if the 77 // chunk contains constructs we cannot handle. Returns true if the
77 // code generation attempt succeeded. 78 // code generation attempt succeeded.
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 Label entry_; 395 Label entry_;
395 Label exit_; 396 Label exit_;
396 Label done_; 397 Label done_;
397 Label* external_exit_; 398 Label* external_exit_;
398 int instruction_index_; 399 int instruction_index_;
399 }; 400 };
400 401
401 } } // namespace v8::internal 402 } } // namespace v8::internal
402 403
403 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698