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

Unified Diff: test/cctest/test-macro-assembler-x64.cc

Issue 39973003: Merge bleeding_edge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: again Created 7 years, 2 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 | « test/cctest/test-heap-profiler.cc ('k') | test/cctest/test-object-observe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-macro-assembler-x64.cc
diff --git a/test/cctest/test-macro-assembler-x64.cc b/test/cctest/test-macro-assembler-x64.cc
index 0480e0b68376d5897864d8ed37c8d393658daad9..61914b58c333beb53e4c7a02afe0922845a40eeb 100644
--- a/test/cctest/test-macro-assembler-x64.cc
+++ b/test/cctest/test-macro-assembler-x64.cc
@@ -2649,10 +2649,8 @@ TEST(LoadAndStoreWithRepresentation) {
MacroAssembler assembler(isolate, buffer, static_cast<int>(actual_size));
MacroAssembler* masm = &assembler; // Create a pointer for the __ macro.
masm->set_allow_stub_calls(false);
- __ push(rbp);
- __ movq(rbp, rsp);
- __ subq(rsp, Immediate(1 * kPointerSize));
EntryCode(masm);
+ __ subq(rsp, Immediate(1 * kPointerSize));
Label exit;
// Test 1.
@@ -2735,14 +2733,13 @@ TEST(LoadAndStoreWithRepresentation) {
__ xor_(rax, rax); // Success.
__ bind(&exit);
+ __ addq(rsp, Immediate(1 * kPointerSize));
ExitCode(masm);
- __ movq(rsp, rbp);
- __ pop(rbp);
__ ret(0);
CodeDesc desc;
masm->GetCode(&desc);
- // Call the function from C++.A
+ // Call the function from C++.
int result = FUNCTION_CAST<F0>(buffer)();
CHECK_EQ(0, result);
}
« no previous file with comments | « test/cctest/test-heap-profiler.cc ('k') | test/cctest/test-object-observe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698