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

Unified Diff: src/sh4/lithium-gap-resolver-sh4.cc

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: Use GYP and fixe some typos Created 8 years, 1 month 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/sh4/lithium-gap-resolver-sh4.h ('k') | src/sh4/lithium-sh4.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sh4/lithium-gap-resolver-sh4.cc
diff --git a/src/ia32/frames-ia32.cc b/src/sh4/lithium-gap-resolver-sh4.cc
similarity index 66%
copy from src/ia32/frames-ia32.cc
copy to src/sh4/lithium-gap-resolver-sh4.cc
index dd44f0ee5ff12dc7de0df1a33a544e6c19723934..1fd554ee05fcd4e9feeb05b5fef8f697ab5e7cd0 100644
--- a/src/ia32/frames-ia32.cc
+++ b/src/sh4/lithium-gap-resolver-sh4.cc
@@ -1,4 +1,4 @@
-// Copyright 2006-2008 the V8 project authors. All rights reserved.
+// Copyright 2011-2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -27,19 +27,51 @@
#include "v8.h"
-#if defined(V8_TARGET_ARCH_IA32)
-
-#include "frames-inl.h"
+#include "sh4/lithium-gap-resolver-sh4.h"
+#include "sh4/lithium-codegen-sh4.h"
namespace v8 {
namespace internal {
+static const Register kSavedValueRegister = { 9 };
+
+LGapResolver::LGapResolver(LCodeGen* owner)
+ : cgen_(owner), moves_(32, owner->zone()), root_index_(0), in_cycle_(false),
+ saved_destination_(NULL) { }
+
-Address ExitFrame::ComputeStackPointer(Address fp) {
- return Memory::Address_at(fp + ExitFrameConstants::kSPOffset);
+void LGapResolver::Resolve(LParallelMove* parallel_move) {
+ UNIMPLEMENTED();
}
-} } // namespace v8::internal
+void LGapResolver::BuildInitialMoveList(LParallelMove* parallel_move) {
+ UNIMPLEMENTED();
+}
+
+
+void LGapResolver::PerformMove(int index) {
+ UNIMPLEMENTED();
+}
+
+
+void LGapResolver::Verify() {
+ UNIMPLEMENTED();
+}
-#endif // V8_TARGET_ARCH_IA32
+void LGapResolver::BreakCycle(int index) {
+ UNIMPLEMENTED();
+}
+
+
+void LGapResolver::RestoreValue() {
+ UNIMPLEMENTED();
+}
+
+
+void LGapResolver::EmitMove(int index) {
+ UNIMPLEMENTED();
+}
+
+
+} } // namespace v8::internal
« no previous file with comments | « src/sh4/lithium-gap-resolver-sh4.h ('k') | src/sh4/lithium-sh4.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698