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

Unified Diff: src/default-platform.cc

Issue 148593004: A64: Synchronize with r18084. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/default-platform.h ('k') | src/deoptimizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/default-platform.cc
diff --git a/src/a64/frames-a64.cc b/src/default-platform.cc
similarity index 78%
copy from src/a64/frames-a64.cc
copy to src/default-platform.cc
index fc0ecb499594f06731abe87b29ab6df7f7f82ca0..ef3c4ebd450bbc63ae99b4534a22fa5bd67a2f39 100644
--- a/src/a64/frames-a64.cc
+++ b/src/default-platform.cc
@@ -27,25 +27,30 @@
#include "v8.h"
-#if V8_TARGET_ARCH_A64
-
-#include "assembler.h"
-#include "assembler-a64.h"
-#include "assembler-a64-inl.h"
-#include "frames.h"
+#include "default-platform.h"
namespace v8 {
namespace internal {
-Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
-Register JavaScriptFrame::context_register() { return cp; }
+DefaultPlatform::DefaultPlatform() {}
-Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; }
-Register StubFailureTrampolineFrame::context_register() { return cp; }
+DefaultPlatform::~DefaultPlatform() {}
+void DefaultPlatform::CallOnBackgroundThread(Task *task,
+ ExpectedRuntime expected_runtime) {
+ // TODO(jochen): implement.
+ task->Run();
+ delete task;
+}
-} } // namespace v8::internal
-#endif // V8_TARGET_ARCH_A64
+void DefaultPlatform::CallOnForegroundThread(v8::Isolate* isolate, Task* task) {
+ // TODO(jochen): implement.
+ task->Run();
+ delete task;
+}
+
+
+} } // namespace v8::internal
« no previous file with comments | « src/default-platform.h ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698