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

Unified Diff: src/api-experimental.cc

Issue 1674633002: Move FastAccessorAssembler from RawMachineAssembler to CodeStubAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove CodeStubAssembler::ContextParameter. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/DEPS ('k') | src/compiler/code-stub-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-experimental.cc
diff --git a/src/api-experimental.cc b/src/api-experimental.cc
index 98d62e33a2f035c6920cb0a89881d14d5a2b2597..39284342702273c23631768d8880d28f00bff3bf 100644
--- a/src/api-experimental.cc
+++ b/src/api-experimental.cc
@@ -11,20 +11,17 @@
#include "include/v8.h"
#include "include/v8-experimental.h"
#include "src/api.h"
-#include "src/compiler/fast-accessor-assembler.h"
+#include "src/fast-accessor-assembler.h"
namespace {
-
-v8::internal::compiler::FastAccessorAssembler* FromApi(
+v8::internal::FastAccessorAssembler* FromApi(
v8::experimental::FastAccessorBuilder* builder) {
- return reinterpret_cast<v8::internal::compiler::FastAccessorAssembler*>(
- builder);
+ return reinterpret_cast<v8::internal::FastAccessorAssembler*>(builder);
}
-
v8::experimental::FastAccessorBuilder* FromInternal(
- v8::internal::compiler::FastAccessorAssembler* fast_accessor_assembler) {
+ v8::internal::FastAccessorAssembler* fast_accessor_assembler) {
return reinterpret_cast<v8::experimental::FastAccessorBuilder*>(
fast_accessor_assembler);
}
@@ -57,8 +54,8 @@ namespace experimental {
FastAccessorBuilder* FastAccessorBuilder::New(Isolate* isolate) {
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
- internal::compiler::FastAccessorAssembler* faa =
- new internal::compiler::FastAccessorAssembler(i_isolate);
+ internal::FastAccessorAssembler* faa =
+ new internal::FastAccessorAssembler(i_isolate);
return FromInternal(faa);
}
« no previous file with comments | « src/DEPS ('k') | src/compiler/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698