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

Unified Diff: src/mips/virtual-frame-mips-inl.h

Issue 6759025: Version 3.2.6 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 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/mips/virtual-frame-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips/virtual-frame-mips-inl.h
diff --git a/test/cctest/test-mips.cc b/src/mips/virtual-frame-mips-inl.h
similarity index 73%
copy from test/cctest/test-mips.cc
copy to src/mips/virtual-frame-mips-inl.h
index efd4cc975df193710e57ffaa1b9435592e2498c8..f0d2fab0108e7529aa261e2e96e745ce9f8ec833 100644
--- a/test/cctest/test-mips.cc
+++ b/src/mips/virtual-frame-mips-inl.h
@@ -25,28 +25,34 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#ifndef V8_VIRTUAL_FRAME_MIPS_INL_H_
+#define V8_VIRTUAL_FRAME_MIPS_INL_H_
-#include "v8.h"
-#include "execution.h"
+#include "assembler-mips.h"
+#include "virtual-frame-mips.h"
-#include "cctest.h"
+namespace v8 {
+namespace internal {
-using ::v8::Local;
-using ::v8::String;
-using ::v8::Script;
-namespace i = ::v8::internal;
+MemOperand VirtualFrame::ParameterAt(int index) {
+ UNIMPLEMENTED_MIPS();
+ return MemOperand(zero_reg, 0);
+}
+
-TEST(MIPSFunctionCalls) {
- // Disable compilation of natives.
- i::FLAG_disable_native_files = true;
- i::FLAG_full_compiler = false;
+// The receiver frame slot.
+MemOperand VirtualFrame::Receiver() {
+ UNIMPLEMENTED_MIPS();
+ return MemOperand(zero_reg, 0);
+}
- v8::HandleScope scope;
- LocalContext env; // from cctest.h
- const char* c_source = "function foo() { return 0x1234; }; foo();";
- Local<String> source = ::v8::String::New(c_source);
- Local<Script> script = ::v8::Script::Compile(source);
- CHECK_EQ(0x1234, script->Run()->Int32Value());
+void VirtualFrame::Forget(int count) {
+ UNIMPLEMENTED_MIPS();
}
+
+
+} } // namespace v8::internal
+
+#endif // V8_VIRTUAL_FRAME_MIPS_INL_H_
« no previous file with comments | « src/mips/virtual-frame-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698