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/macro-assembler-ia32.h

Issue 3156028: Change code pointer in function objects to a pointer to the first... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 4 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/codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 InvokeFlag flag); 162 InvokeFlag flag);
163 163
164 void InvokeFunction(JSFunction* function, 164 void InvokeFunction(JSFunction* function,
165 const ParameterCount& actual, 165 const ParameterCount& actual,
166 InvokeFlag flag); 166 InvokeFlag flag);
167 167
168 // Invoke specified builtin JavaScript function. Adds an entry to 168 // Invoke specified builtin JavaScript function. Adds an entry to
169 // the unresolved list if the name does not resolve. 169 // the unresolved list if the name does not resolve.
170 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); 170 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag);
171 171
172 // Store the function for the given builtin in the target register.
173 void GetBuiltinFunction(Register target, Builtins::JavaScript id);
174
172 // Store the code object for the given builtin in the target register. 175 // Store the code object for the given builtin in the target register.
173 void GetBuiltinEntry(Register target, Builtins::JavaScript id); 176 void GetBuiltinEntry(Register target, Builtins::JavaScript id);
174 177
175 // Expression support 178 // Expression support
176 void Set(Register dst, const Immediate& x); 179 void Set(Register dst, const Immediate& x);
177 void Set(const Operand& dst, const Immediate& x); 180 void Set(const Operand& dst, const Immediate& x);
178 181
179 // Compare object type for heap object. 182 // Compare object type for heap object.
180 // Incoming register is heap_object and outgoing register is map. 183 // Incoming register is heap_object and outgoing register is map.
181 void CmpObjectType(Register heap_object, InstanceType type, Register map); 184 void CmpObjectType(Register heap_object, InstanceType type, Register map);
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 } \ 639 } \
637 masm-> 640 masm->
638 #else 641 #else
639 #define ACCESS_MASM(masm) masm-> 642 #define ACCESS_MASM(masm) masm->
640 #endif 643 #endif
641 644
642 645
643 } } // namespace v8::internal 646 } } // namespace v8::internal
644 647
645 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 648 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698