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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 547233003: [turbofan] Machine operators are globally shared singletons. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Next windows fix. Created 6 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 | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/js-generic-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 case IrOpcode::kHeapConstant: 481 case IrOpcode::kHeapConstant:
482 case IrOpcode::kNumberConstant: 482 case IrOpcode::kNumberConstant:
483 // TODO(turbofan): only mark non-smis as references. 483 // TODO(turbofan): only mark non-smis as references.
484 return MarkAsReference(node), VisitConstant(node); 484 return MarkAsReference(node), VisitConstant(node);
485 case IrOpcode::kCall: 485 case IrOpcode::kCall:
486 return VisitCall(node, NULL, NULL); 486 return VisitCall(node, NULL, NULL);
487 case IrOpcode::kFrameState: 487 case IrOpcode::kFrameState:
488 case IrOpcode::kStateValues: 488 case IrOpcode::kStateValues:
489 return; 489 return;
490 case IrOpcode::kLoad: { 490 case IrOpcode::kLoad: {
491 MachineType load_rep = OpParameter<MachineType>(node); 491 LoadRepresentation rep = OpParameter<LoadRepresentation>(node);
492 MarkAsRepresentation(load_rep, node); 492 MarkAsRepresentation(rep, node);
493 return VisitLoad(node); 493 return VisitLoad(node);
494 } 494 }
495 case IrOpcode::kStore: 495 case IrOpcode::kStore:
496 return VisitStore(node); 496 return VisitStore(node);
497 case IrOpcode::kWord32And: 497 case IrOpcode::kWord32And:
498 return VisitWord32And(node); 498 return VisitWord32And(node);
499 case IrOpcode::kWord32Or: 499 case IrOpcode::kWord32Or:
500 return VisitWord32Or(node); 500 return VisitWord32Or(node);
501 case IrOpcode::kWord32Xor: 501 case IrOpcode::kWord32Xor:
502 return VisitWord32Xor(node); 502 return VisitWord32Xor(node);
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 1088
1089 1089
1090 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, 1090 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation,
1091 BasicBlock* deoptimization) {} 1091 BasicBlock* deoptimization) {}
1092 1092
1093 #endif // !V8_TURBOFAN_BACKEND 1093 #endif // !V8_TURBOFAN_BACKEND
1094 1094
1095 } // namespace compiler 1095 } // namespace compiler
1096 } // namespace internal 1096 } // namespace internal
1097 } // namespace v8 1097 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698