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

Unified Diff: src/compiler/fast-accessor-assembler.cc

Issue 1521363003: [turbofan] Unify pipeline entry for all assemblers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix stats tracing. Created 5 years 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/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/compiler/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698