Index: src/compiler/fast-accessor-assembler.cc |
diff --git a/src/compiler/fast-accessor-assembler.cc b/src/compiler/fast-accessor-assembler.cc |
index bbc8425c2661e198e8771c86ae808e84d02802ef..09d513fdc622c4a141a26601ae0501c1bedd5f14 100644 |
--- a/src/compiler/fast-accessor-assembler.cc |
+++ b/src/compiler/fast-accessor-assembler.cc |
@@ -175,13 +175,10 @@ MaybeHandle<Code> FastAccessorAssembler::Build() { |
labels_.clear(); |
// Export the schedule and call the compiler. |
- CompilationInfo info("FastAccessorAssembler", assembler_->isolate(), zone()); |
Schedule* schedule = assembler_->Export(); |
- |
- // TODO(vogelheim): Pipeline should have a dedicated entry point for this |
- // assembler. |
- MaybeHandle<Code> code = Pipeline::GenerateCodeForTesting( |
- &info, assembler_->call_descriptor(), assembler_->graph(), schedule); |
+ MaybeHandle<Code> code = Pipeline::GenerateCodeForCodeStub( |
+ assembler_->isolate(), assembler_->call_descriptor(), assembler_->graph(), |
+ schedule, Code::STUB, "FastAccessorAssembler"); |
// Update state & return. |
state_ = !code.is_null() ? kBuilt : kError; |