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

Side by Side Diff: src/ia32/stub-cache-ia32.cc

Issue 94793003: Fix compilation error with latest Xcode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/hydrogen-check-elimination.h ('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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 644
645 645
646 class CallInterceptorCompiler BASE_EMBEDDED { 646 class CallInterceptorCompiler BASE_EMBEDDED {
647 public: 647 public:
648 CallInterceptorCompiler(CallStubCompiler* stub_compiler, 648 CallInterceptorCompiler(CallStubCompiler* stub_compiler,
649 const ParameterCount& arguments, 649 const ParameterCount& arguments,
650 Register name, 650 Register name,
651 ExtraICState extra_state) 651 ExtraICState extra_state)
652 : stub_compiler_(stub_compiler), 652 : stub_compiler_(stub_compiler),
653 arguments_(arguments), 653 arguments_(arguments),
654 name_(name), 654 name_(name) {}
655 extra_state_(extra_state) {}
656 655
657 void Compile(MacroAssembler* masm, 656 void Compile(MacroAssembler* masm,
658 Handle<JSObject> object, 657 Handle<JSObject> object,
659 Handle<JSObject> holder, 658 Handle<JSObject> holder,
660 Handle<Name> name, 659 Handle<Name> name,
661 LookupResult* lookup, 660 LookupResult* lookup,
662 Register receiver, 661 Register receiver,
663 Register scratch1, 662 Register scratch1,
664 Register scratch2, 663 Register scratch2,
665 Register scratch3, 664 Register scratch3,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 // Leave the internal frame. 820 // Leave the internal frame.
822 } 821 }
823 822
824 __ cmp(eax, masm->isolate()->factory()->no_interceptor_result_sentinel()); 823 __ cmp(eax, masm->isolate()->factory()->no_interceptor_result_sentinel());
825 __ j(not_equal, interceptor_succeeded); 824 __ j(not_equal, interceptor_succeeded);
826 } 825 }
827 826
828 CallStubCompiler* stub_compiler_; 827 CallStubCompiler* stub_compiler_;
829 const ParameterCount& arguments_; 828 const ParameterCount& arguments_;
830 Register name_; 829 Register name_;
831 ExtraICState extra_state_;
832 }; 830 };
833 831
834 832
835 void StoreStubCompiler::GenerateRestoreName(MacroAssembler* masm, 833 void StoreStubCompiler::GenerateRestoreName(MacroAssembler* masm,
836 Label* label, 834 Label* label,
837 Handle<Name> name) { 835 Handle<Name> name) {
838 if (!label->is_unused()) { 836 if (!label->is_unused()) {
839 __ bind(label); 837 __ bind(label);
840 __ mov(this->name(), Immediate(name)); 838 __ mov(this->name(), Immediate(name));
841 } 839 }
(...skipping 2152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2994 // ----------------------------------- 2992 // -----------------------------------
2995 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 2993 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
2996 } 2994 }
2997 2995
2998 2996
2999 #undef __ 2997 #undef __
3000 2998
3001 } } // namespace v8::internal 2999 } } // namespace v8::internal
3002 3000
3003 #endif // V8_TARGET_ARCH_IA32 3001 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-check-elimination.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698