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

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

Issue 260003006: Added a Isolate* parameter to Serializer::enabled(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Feedback. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/code-stubs-ia32.h » ('j') | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "codegen.h" 9 #include "codegen.h"
10 #include "deoptimizer.h" 10 #include "deoptimizer.h"
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 __ ret(0); // Return to IC Miss stub, continuation still on stack. 670 __ ret(0); // Return to IC Miss stub, continuation still on stack.
671 } 671 }
672 672
673 673
674 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { 674 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
675 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); 675 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs);
676 } 676 }
677 677
678 678
679 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { 679 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) {
680 if (Serializer::enabled()) { 680 if (Serializer::enabled(masm->isolate())) {
681 PlatformFeatureScope sse2(masm->isolate(), SSE2); 681 PlatformFeatureScope sse2(masm->isolate(), SSE2);
682 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); 682 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
683 } else { 683 } else {
684 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); 684 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
685 } 685 }
686 } 686 }
687 687
688 688
689 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, 689 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
690 Deoptimizer::BailoutType type) { 690 Deoptimizer::BailoutType type) {
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 1439
1440 __ bind(&ok); 1440 __ bind(&ok);
1441 __ ret(0); 1441 __ ret(0);
1442 } 1442 }
1443 1443
1444 #undef __ 1444 #undef __
1445 } 1445 }
1446 } // namespace v8::internal 1446 } // namespace v8::internal
1447 1447
1448 #endif // V8_TARGET_ARCH_IA32 1448 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698