| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/code-assembler.h" | 5 #include "src/compiler/code-assembler.h" |
| 6 | 6 |
| 7 #include <ostream> | 7 #include <ostream> |
| 8 | 8 |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 Linkage::GetJSCallDescriptor(zone, false, parameter_count, | 44 Linkage::GetJSCallDescriptor(zone, false, parameter_count, |
| 45 CallDescriptor::kNoFlags), | 45 CallDescriptor::kNoFlags), |
| 46 flags, name) {} | 46 flags, name) {} |
| 47 | 47 |
| 48 CodeAssembler::CodeAssembler(Isolate* isolate, Zone* zone, | 48 CodeAssembler::CodeAssembler(Isolate* isolate, Zone* zone, |
| 49 CallDescriptor* call_descriptor, Code::Flags flags, | 49 CallDescriptor* call_descriptor, Code::Flags flags, |
| 50 const char* name) | 50 const char* name) |
| 51 : raw_assembler_(new RawMachineAssembler( | 51 : raw_assembler_(new RawMachineAssembler( |
| 52 isolate, new (zone) Graph(zone), call_descriptor, | 52 isolate, new (zone) Graph(zone), call_descriptor, |
| 53 MachineType::PointerRepresentation(), | 53 MachineType::PointerRepresentation(), |
| 54 InstructionSelector::SupportedMachineOperatorFlags())), | 54 InstructionSelector::SupportedMachineOperatorFlags(), |
| 55 InstructionSelector::AlignmentRequirements())), |
| 55 flags_(flags), | 56 flags_(flags), |
| 56 name_(name), | 57 name_(name), |
| 57 code_generated_(false), | 58 code_generated_(false), |
| 58 variables_(zone) {} | 59 variables_(zone) {} |
| 59 | 60 |
| 60 CodeAssembler::~CodeAssembler() {} | 61 CodeAssembler::~CodeAssembler() {} |
| 61 | 62 |
| 62 void CodeAssembler::CallPrologue() {} | 63 void CodeAssembler::CallPrologue() {} |
| 63 | 64 |
| 64 void CodeAssembler::CallEpilogue() {} | 65 void CodeAssembler::CallEpilogue() {} |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 } | 906 } |
| 906 } | 907 } |
| 907 } | 908 } |
| 908 | 909 |
| 909 bound_ = true; | 910 bound_ = true; |
| 910 } | 911 } |
| 911 | 912 |
| 912 } // namespace compiler | 913 } // namespace compiler |
| 913 } // namespace internal | 914 } // namespace internal |
| 914 } // namespace v8 | 915 } // namespace v8 |
| OLD | NEW |