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

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

Issue 88025: * Add code to check coverage of generated code on IA32 port.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 14 matching lines...) Expand all
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include "v8.h" 28 #include "v8.h"
29 29
30 #include "codegen-inl.h" 30 #include "codegen-inl.h"
31 31
32 namespace v8 { namespace internal { 32 namespace v8 { namespace internal {
33 33
34 34
35 #define __ masm-> 35 #define __ DEFINE_MASM(masm)
36 36
37 37
38 void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { 38 void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) {
39 // TODO(1238487): Don't pass the function in a static variable. 39 // TODO(1238487): Don't pass the function in a static variable.
40 ExternalReference passed = ExternalReference::builtin_passed_function(); 40 ExternalReference passed = ExternalReference::builtin_passed_function();
41 __ mov(Operand::StaticVariable(passed), edi); 41 __ mov(Operand::StaticVariable(passed), edi);
42 42
43 // The actual argument count has already been loaded into register 43 // The actual argument count has already been loaded into register
44 // eax, but JumpToBuiltin expects eax to contain the number of 44 // eax, but JumpToBuiltin expects eax to contain the number of
45 // arguments including the receiver. 45 // arguments including the receiver.
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 // Dont adapt arguments. 749 // Dont adapt arguments.
750 // ------------------------------------------- 750 // -------------------------------------------
751 __ bind(&dont_adapt_arguments); 751 __ bind(&dont_adapt_arguments);
752 __ jmp(Operand(edx)); 752 __ jmp(Operand(edx));
753 } 753 }
754 754
755 755
756 #undef __ 756 #undef __
757 757
758 } } // namespace v8::internal 758 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698