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

Side by Side Diff: src/builtins.h

Issue 1930: Adapt to new calling convention on ARM. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 3 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/bootstrapper.cc ('k') | src/builtins.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-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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 static Address builtin_address(Name name) { 178 static Address builtin_address(Name name) {
179 return reinterpret_cast<Address>(&builtins_[name]); 179 return reinterpret_cast<Address>(&builtins_[name]);
180 } 180 }
181 181
182 static Address c_function_address(CFunctionId id) { 182 static Address c_function_address(CFunctionId id) {
183 return c_functions_[id]; 183 return c_functions_[id];
184 } 184 }
185 185
186 static const char* GetName(JavaScript id) { return javascript_names_[id]; } 186 static const char* GetName(JavaScript id) { return javascript_names_[id]; }
187 static int GetArgumentsCount(JavaScript id) { return javascript_argc_[id]; } 187 static int GetArgumentsCount(JavaScript id) { return javascript_argc_[id]; }
188 static Handle<Code> GetCode(JavaScript id, bool* resolved);
188 static int NumberOfJavaScriptBuiltins() { return id_count; } 189 static int NumberOfJavaScriptBuiltins() { return id_count; }
189 190
190 // Called from stub-cache.cc. 191 // Called from stub-cache.cc.
191 static void Generate_CallIC_DebugBreak(MacroAssembler* masm); 192 static void Generate_CallIC_DebugBreak(MacroAssembler* masm);
192 193
193 static Object* builtin_passed_function; 194 static Object* builtin_passed_function;
194 195
195 private: 196 private:
196 // The external C++ functions called from the code. 197 // The external C++ functions called from the code.
197 static Address c_functions_[cfunction_count]; 198 static Address c_functions_[cfunction_count];
(...skipping 29 matching lines...) Expand all
227 static void Generate_ConstructCall_DebugBreak(MacroAssembler* masm); 228 static void Generate_ConstructCall_DebugBreak(MacroAssembler* masm);
228 static void Generate_Return_DebugBreak(MacroAssembler* masm); 229 static void Generate_Return_DebugBreak(MacroAssembler* masm);
229 static void Generate_Return_DebugBreakEntry(MacroAssembler* masm); 230 static void Generate_Return_DebugBreakEntry(MacroAssembler* masm);
230 static void Generate_StubNoRegisters_DebugBreak(MacroAssembler* masm); 231 static void Generate_StubNoRegisters_DebugBreak(MacroAssembler* masm);
231 }; 232 };
232 233
233 234
234 } } // namespace v8::internal 235 } } // namespace v8::internal
235 236
236 #endif // V8_BUILTINS_H_ 237 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698