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

Side by Side Diff: src/ic.h

Issue 575022: Eliminate unused function KeyedStoreIC::GenerateExtendStorage, and unused par... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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/stub-cache-ia32.cc ('k') | src/stub-cache.h » ('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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 Object* Store(State state, 346 Object* Store(State state,
347 Handle<Object> object, 347 Handle<Object> object,
348 Handle<String> name, 348 Handle<String> name,
349 Handle<Object> value); 349 Handle<Object> value);
350 350
351 // Code generators for stub routines. Only called once at startup. 351 // Code generators for stub routines. Only called once at startup.
352 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } 352 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); }
353 static void GenerateMiss(MacroAssembler* masm); 353 static void GenerateMiss(MacroAssembler* masm);
354 static void GenerateMegamorphic(MacroAssembler* masm); 354 static void GenerateMegamorphic(MacroAssembler* masm);
355 static void GenerateExtendStorage(MacroAssembler* masm);
356 355
357 private: 356 private:
358 // Update the inline cache and the global stub cache based on the 357 // Update the inline cache and the global stub cache based on the
359 // lookup result. 358 // lookup result.
360 void UpdateCaches(LookupResult* lookup, 359 void UpdateCaches(LookupResult* lookup,
361 State state, Handle<JSObject> receiver, 360 State state, Handle<JSObject> receiver,
362 Handle<String> name, 361 Handle<String> name,
363 Handle<Object> value); 362 Handle<Object> value);
364 363
365 // Stub accessors. 364 // Stub accessors.
(...skipping 16 matching lines...) Expand all
382 Object* Store(State state, 381 Object* Store(State state,
383 Handle<Object> object, 382 Handle<Object> object,
384 Handle<Object> name, 383 Handle<Object> name,
385 Handle<Object> value); 384 Handle<Object> value);
386 385
387 // Code generators for stub routines. Only called once at startup. 386 // Code generators for stub routines. Only called once at startup.
388 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } 387 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); }
389 static void GenerateMiss(MacroAssembler* masm); 388 static void GenerateMiss(MacroAssembler* masm);
390 static void GenerateRuntimeSetProperty(MacroAssembler* masm); 389 static void GenerateRuntimeSetProperty(MacroAssembler* masm);
391 static void GenerateGeneric(MacroAssembler* masm); 390 static void GenerateGeneric(MacroAssembler* masm);
392 static void GenerateExtendStorage(MacroAssembler* masm);
393 391
394 // Generators for external array types. See objects.h. 392 // Generators for external array types. See objects.h.
395 // These are similar to the generic IC; they optimize the case of 393 // These are similar to the generic IC; they optimize the case of
396 // operating upon external array types but fall back to the runtime 394 // operating upon external array types but fall back to the runtime
397 // for all other types. 395 // for all other types.
398 static void GenerateExternalArray(MacroAssembler* masm, 396 static void GenerateExternalArray(MacroAssembler* masm,
399 ExternalArrayType array_type); 397 ExternalArrayType array_type);
400 398
401 // Clear the inlined version so the IC is always hit. 399 // Clear the inlined version so the IC is always hit.
402 static void ClearInlinedVersion(Address address); 400 static void ClearInlinedVersion(Address address);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 // The map is the new map that the inlined code should check against. 432 // The map is the new map that the inlined code should check against.
435 static bool PatchInlinedStore(Address address, Object* map); 433 static bool PatchInlinedStore(Address address, Object* map);
436 434
437 friend class IC; 435 friend class IC;
438 }; 436 };
439 437
440 438
441 } } // namespace v8::internal 439 } } // namespace v8::internal
442 440
443 #endif // V8_IC_H_ 441 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698