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

Side by Side Diff: src/ia32/builtins-ia32.cc

Issue 112833002: Fix NotifyStubFailureSaveDoubles generation for ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add comment Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arguments.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 __ ret(0); // Return to IC Miss stub, continuation still on stack. 620 __ ret(0); // Return to IC Miss stub, continuation still on stack.
621 } 621 }
622 622
623 623
624 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { 624 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
625 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); 625 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs);
626 } 626 }
627 627
628 628
629 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { 629 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) {
630 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); 630 if (Serializer::enabled()) {
631 PlatformFeatureScope sse2(SSE2);
632 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
633 } else {
634 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
635 }
631 } 636 }
632 637
633 638
634 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, 639 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
635 Deoptimizer::BailoutType type) { 640 Deoptimizer::BailoutType type) {
636 { 641 {
637 FrameScope scope(masm, StackFrame::INTERNAL); 642 FrameScope scope(masm, StackFrame::INTERNAL);
638 643
639 // Pass deoptimization type to the runtime system. 644 // Pass deoptimization type to the runtime system.
640 __ push(Immediate(Smi::FromInt(static_cast<int>(type)))); 645 __ push(Immediate(Smi::FromInt(static_cast<int>(type))));
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 1369
1365 __ bind(&ok); 1370 __ bind(&ok);
1366 __ ret(0); 1371 __ ret(0);
1367 } 1372 }
1368 1373
1369 #undef __ 1374 #undef __
1370 } 1375 }
1371 } // namespace v8::internal 1376 } // namespace v8::internal
1372 1377
1373 #endif // V8_TARGET_ARCH_IA32 1378 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arguments.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698