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

Side by Side Diff: src/objects.h

Issue 14611006: Cleanup IC heuristics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed nit Created 7 years, 7 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/ic.cc ('k') | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 4606 matching lines...) Expand 10 before | Expand all | Expand 10 after
4617 4617
4618 // Find the first map in an IC stub. 4618 // Find the first map in an IC stub.
4619 Map* FindFirstMap(); 4619 Map* FindFirstMap();
4620 void FindAllMaps(MapHandleList* maps); 4620 void FindAllMaps(MapHandleList* maps);
4621 void ReplaceFirstMap(Map* replace); 4621 void ReplaceFirstMap(Map* replace);
4622 4622
4623 // Find the first code in an IC stub. 4623 // Find the first code in an IC stub.
4624 Code* FindFirstCode(); 4624 Code* FindFirstCode();
4625 void FindAllCode(CodeHandleList* code_list, int length); 4625 void FindAllCode(CodeHandleList* code_list, int length);
4626 4626
4627 // Find the first name in an IC stub.
4628 Name* FindFirstName();
4629
4627 class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; 4630 class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {};
4628 class ExtraICStateKeyedAccessStoreMode: 4631 class ExtraICStateKeyedAccessStoreMode:
4629 public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT 4632 public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT
4630 4633
4631 class ExtraICStateStubHolder: public BitField<StubHolder, 0, 1> {}; 4634 class ExtraICStateStubHolder: public BitField<StubHolder, 0, 1> {};
4632 4635
4633 static inline StrictModeFlag GetStrictMode(ExtraICState extra_ic_state) { 4636 static inline StrictModeFlag GetStrictMode(ExtraICState extra_ic_state) {
4634 return ExtraICStateStrictMode::decode(extra_ic_state); 4637 return ExtraICStateStrictMode::decode(extra_ic_state);
4635 } 4638 }
4636 4639
(...skipping 4888 matching lines...) Expand 10 before | Expand all | Expand 10 after
9525 } else { 9528 } else {
9526 value &= ~(1 << bit_position); 9529 value &= ~(1 << bit_position);
9527 } 9530 }
9528 return value; 9531 return value;
9529 } 9532 }
9530 }; 9533 };
9531 9534
9532 } } // namespace v8::internal 9535 } } // namespace v8::internal
9533 9536
9534 #endif // V8_OBJECTS_H_ 9537 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698