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

Side by Side Diff: src/stub-cache.h

Issue 2473001: - Continue removing [static] qualifier from methods on StubCache (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 10 years, 6 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/mark-compact.cc ('k') | src/stub-cache.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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 String* name, 169 String* name,
170 JSObject* receiver, 170 JSObject* receiver,
171 GlobalObject* holder, 171 GlobalObject* holder,
172 JSGlobalPropertyCell* cell, 172 JSGlobalPropertyCell* cell,
173 JSFunction* function); 173 JSFunction* function);
174 174
175 // --- 175 // ---
176 176
177 static Object* ComputeCallInitialize(int argc, InLoopFlag in_loop); 177 static Object* ComputeCallInitialize(int argc, InLoopFlag in_loop);
178 static Object* ComputeCallPreMonomorphic(int argc, InLoopFlag in_loop); 178 static Object* ComputeCallPreMonomorphic(int argc, InLoopFlag in_loop);
179 static Object* ComputeCallNormal(int argc, InLoopFlag in_loop); 179 Object* ComputeCallNormal(int argc, InLoopFlag in_loop);
180 static Object* ComputeCallMegamorphic(int argc, InLoopFlag in_loop); 180 Object* ComputeCallMegamorphic(int argc, InLoopFlag in_loop);
181 static Object* ComputeCallMiss(int argc); 181 Object* ComputeCallMiss(int argc);
182 182
183 // Finds the Code object stored in the Heap::non_monomorphic_cache(). 183 // Finds the Code object stored in the Heap::non_monomorphic_cache().
184 static Code* FindCallInitialize(int argc, InLoopFlag in_loop); 184 Code* FindCallInitialize(int argc, InLoopFlag in_loop);
185 185
186 #ifdef ENABLE_DEBUGGER_SUPPORT 186 #ifdef ENABLE_DEBUGGER_SUPPORT
187 static Object* ComputeCallDebugBreak(int argc); 187 Object* ComputeCallDebugBreak(int argc);
188 static Object* ComputeCallDebugPrepareStepIn(int argc); 188 Object* ComputeCallDebugPrepareStepIn(int argc);
189 #endif 189 #endif
190 190
191 static Object* ComputeLazyCompile(int argc); 191 static Object* ComputeLazyCompile(int argc);
192 192
193 193
194 // Update cache for entry hash(name, map). 194 // Update cache for entry hash(name, map).
195 static Code* Set(String* name, Map* map, Code* code); 195 static Code* Set(String* name, Map* map, Code* code);
196 196
197 // Clear the lookup table (@ mark compact collection). 197 // Clear the lookup table (@ mark compact collection).
198 static void Clear(); 198 void Clear();
199 199
200 // Functions for generating stubs at startup. 200 // Functions for generating stubs at startup.
201 static void GenerateMiss(MacroAssembler* masm); 201 static void GenerateMiss(MacroAssembler* masm);
202 202
203 // Generate code for probing the stub cache table. 203 // Generate code for probing the stub cache table.
204 // If extra != no_reg it might be used as am extra scratch register. 204 // If extra != no_reg it might be used as am extra scratch register.
205 static void GenerateProbe(MacroAssembler* masm, 205 static void GenerateProbe(MacroAssembler* masm,
206 Code::Flags flags, 206 Code::Flags flags,
207 Register receiver, 207 Register receiver,
208 Register name, 208 Register name,
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 697
698 JSFunction* constant_function_; 698 JSFunction* constant_function_;
699 bool is_simple_api_call_; 699 bool is_simple_api_call_;
700 FunctionTemplateInfo* expected_receiver_type_; 700 FunctionTemplateInfo* expected_receiver_type_;
701 CallHandlerInfo* api_call_info_; 701 CallHandlerInfo* api_call_info_;
702 }; 702 };
703 703
704 } } // namespace v8::internal 704 } } // namespace v8::internal
705 705
706 #endif // V8_STUB_CACHE_H_ 706 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698