Chromium Code Reviews

Unified Diff: src/x64/codegen-x64.cc

Issue 160520: X64: Add missing pop when calling handler with Out-of-memory exception. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/x64/disasm-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/codegen-x64.cc
===================================================================
--- src/x64/codegen-x64.cc (revision 2607)
+++ src/x64/codegen-x64.cc (working copy)
@@ -6467,7 +6467,7 @@
__ xor_(rsi, rsi);
// Restore registers from handler.
-
+ __ pop(kScratchRegister); // Next Handler. Not used.
__ pop(rbp); // FP
ASSERT_EQ(StackHandlerConstants::kFPOffset + kPointerSize,
StackHandlerConstants::kStateOffset);
« no previous file with comments | « no previous file | src/x64/disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine