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 |