| 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/fast-accessor-assembler.h" | 5 #include "src/fast-accessor-assembler.h" |
| 6 | 6 |
| 7 #include "src/base/logging.h" | 7 #include "src/base/logging.h" |
| 8 #include "src/code-stub-assembler.h" |
| 8 #include "src/code-stubs.h" // For CallApiCallbackStub. | 9 #include "src/code-stubs.h" // For CallApiCallbackStub. |
| 9 #include "src/compiler/code-stub-assembler.h" | |
| 10 #include "src/handles-inl.h" | 10 #include "src/handles-inl.h" |
| 11 #include "src/objects.h" // For FAA::LoadInternalField impl. | 11 #include "src/objects.h" // For FAA::LoadInternalField impl. |
| 12 | 12 |
| 13 using v8::internal::compiler::CodeStubAssembler; | 13 using v8::internal::CodeStubAssembler; |
| 14 using v8::internal::compiler::Node; | 14 using v8::internal::compiler::Node; |
| 15 | 15 |
| 16 namespace v8 { | 16 namespace v8 { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 FastAccessorAssembler::FastAccessorAssembler(Isolate* isolate) | 19 FastAccessorAssembler::FastAccessorAssembler(Isolate* isolate) |
| 20 : zone_(isolate->allocator()), | 20 : zone_(isolate->allocator()), |
| 21 isolate_(isolate), | 21 isolate_(isolate), |
| 22 assembler_(new CodeStubAssembler(isolate, zone(), 1, | 22 assembler_(new CodeStubAssembler(isolate, zone(), 1, |
| 23 Code::ComputeFlags(Code::STUB), | 23 Code::ComputeFlags(Code::STUB), |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 void FastAccessorAssembler::Clear() { | 229 void FastAccessorAssembler::Clear() { |
| 230 for (auto label : labels_) { | 230 for (auto label : labels_) { |
| 231 delete label; | 231 delete label; |
| 232 } | 232 } |
| 233 nodes_.clear(); | 233 nodes_.clear(); |
| 234 labels_.clear(); | 234 labels_.clear(); |
| 235 } | 235 } |
| 236 | 236 |
| 237 } // namespace internal | 237 } // namespace internal |
| 238 } // namespace v8 | 238 } // namespace v8 |
| OLD | NEW |