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

Side by Side Diff: src/objects.h

Issue 184373004: Fail early when re-entering code that has been patched for lazy deopt (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: cover OSR entry too Created 6 years, 9 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/mips/deoptimizer-mips.cc ('k') | src/x64/deoptimizer-x64.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 5609 matching lines...) Expand 10 before | Expand all | Expand 10 after
5620 5620
5621 static const int kArgumentsBits = 16; 5621 static const int kArgumentsBits = 16;
5622 static const int kMaxArguments = (1 << kArgumentsBits) - 1; 5622 static const int kMaxArguments = (1 << kArgumentsBits) - 1;
5623 5623
5624 // This constant should be encodable in an ARM instruction. 5624 // This constant should be encodable in an ARM instruction.
5625 static const int kFlagsNotUsedInLookup = 5625 static const int kFlagsNotUsedInLookup =
5626 TypeField::kMask | CacheHolderField::kMask; 5626 TypeField::kMask | CacheHolderField::kMask;
5627 5627
5628 private: 5628 private:
5629 friend class RelocIterator; 5629 friend class RelocIterator;
5630 friend class Deoptimizer; // For FindCodeAgeSequence.
5630 5631
5631 void ClearInlineCaches(Kind* kind); 5632 void ClearInlineCaches(Kind* kind);
5632 5633
5633 // Code aging 5634 // Code aging
5634 byte* FindCodeAgeSequence(); 5635 byte* FindCodeAgeSequence();
5635 static void GetCodeAgeAndParity(Code* code, Age* age, 5636 static void GetCodeAgeAndParity(Code* code, Age* age,
5636 MarkingParity* parity); 5637 MarkingParity* parity);
5637 static void GetCodeAgeAndParity(byte* sequence, Age* age, 5638 static void GetCodeAgeAndParity(byte* sequence, Age* age,
5638 MarkingParity* parity); 5639 MarkingParity* parity);
5639 static Code* GetCodeAgeStub(Isolate* isolate, Age age, MarkingParity parity); 5640 static Code* GetCodeAgeStub(Isolate* isolate, Age age, MarkingParity parity);
(...skipping 5134 matching lines...) Expand 10 before | Expand all | Expand 10 after
10774 } else { 10775 } else {
10775 value &= ~(1 << bit_position); 10776 value &= ~(1 << bit_position);
10776 } 10777 }
10777 return value; 10778 return value;
10778 } 10779 }
10779 }; 10780 };
10780 10781
10781 } } // namespace v8::internal 10782 } } // namespace v8::internal
10782 10783
10783 #endif // V8_OBJECTS_H_ 10784 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/deoptimizer-mips.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698