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

Unified Diff: src/compiler/simplified-lowering.h

Issue 437583002: TF: Lowering representation changes to machine operators (WIP: need inline allocation for some). Mo… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-lowering.h
diff --git a/src/compiler/simplified-lowering.h b/src/compiler/simplified-lowering.h
index 0e67cc60b3711bbc1194cc3ec1df390312716d4a..ed94db45ba70ed4dbc960af201d494e5e8768773 100644
--- a/src/compiler/simplified-lowering.h
+++ b/src/compiler/simplified-lowering.h
@@ -27,22 +27,28 @@ class SimplifiedLowering : public LoweringBuilder {
virtual void Lower(Node* node);
+ // TODO(titzer): These are exposed for direct testing. Use a friend class.
+ void DoChangeTaggedToUI32(Node* node, Node* effect, Node* control,
+ bool is_signed);
+ void DoChangeUI32ToTagged(Node* node, Node* effect, Node* control,
+ bool is_signed);
+ void DoChangeTaggedToFloat64(Node* node, Node* effect, Node* control);
+ void DoChangeFloat64ToTagged(Node* node, Node* effect, Node* control);
+ void DoChangeBoolToBit(Node* node, Node* effect, Node* control);
+ void DoChangeBitToBool(Node* node, Node* effect, Node* control);
+ void DoLoadField(Node* node, Node* effect, Node* control);
+ void DoStoreField(Node* node, Node* effect, Node* control);
+ void DoLoadElement(Node* node, Node* effect, Node* control);
+ void DoStoreElement(Node* node, Node* effect, Node* control);
+
private:
JSGraph* jsgraph_;
MachineOperatorBuilder machine_;
- Node* DoChangeTaggedToInt32(Node* node, Node* effect, Node* control);
- Node* DoChangeTaggedToUint32(Node* node, Node* effect, Node* control);
- Node* DoChangeTaggedToFloat64(Node* node, Node* effect, Node* control);
- Node* DoChangeInt32ToTagged(Node* node, Node* effect, Node* control);
- Node* DoChangeUint32ToTagged(Node* node, Node* effect, Node* control);
- Node* DoChangeFloat64ToTagged(Node* node, Node* effect, Node* control);
- Node* DoChangeBoolToBit(Node* node, Node* effect, Node* control);
- Node* DoChangeBitToBool(Node* node, Node* effect, Node* control);
- Node* DoLoadField(Node* node, Node* effect, Node* control);
- Node* DoStoreField(Node* node, Node* effect, Node* control);
- Node* DoLoadElement(Node* node, Node* effect, Node* control);
- Node* DoStoreElement(Node* node, Node* effect, Node* control);
+ Node* SmiTag(Node* node);
+ Node* IsTagged(Node* node);
+ Node* Untag(Node* node);
+ Node* OffsetMinusTagConstant(int32_t offset);
Node* ComputeIndex(const ElementAccess& access, Node* index);
« no previous file with comments | « no previous file | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698