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

Side by Side Diff: src/objects.h

Issue 5699002: RFC: Switch to ast ids (instead of positions) for type feedback. (Closed)
Patch Set: Cleanup Created 10 years 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 3969 matching lines...) Expand 10 before | Expand all | Expand 10 after
3980 // Indicates whether or not the code in the shared function support 3980 // Indicates whether or not the code in the shared function support
3981 // deoptimization. 3981 // deoptimization.
3982 inline bool has_deoptimization_support(); 3982 inline bool has_deoptimization_support();
3983 3983
3984 // Enable deoptimization support through recompiled code. 3984 // Enable deoptimization support through recompiled code.
3985 void EnableDeoptimizationSupport(Code* recompiled); 3985 void EnableDeoptimizationSupport(Code* recompiled);
3986 3986
3987 // Lookup the bailout ID and ASSERT that it exists in the non-optimized 3987 // Lookup the bailout ID and ASSERT that it exists in the non-optimized
3988 // code, returns whether it asserted (i.e., always true if assertions are 3988 // code, returns whether it asserted (i.e., always true if assertions are
3989 // disabled). 3989 // disabled).
3990 bool VerifyBailoutId(int id); 3990 bool VerifyBailoutId(AstId id);
3991 3991
3992 // Check whether a inlined constructor can be generated with the given 3992 // Check whether a inlined constructor can be generated with the given
3993 // prototype. 3993 // prototype.
3994 bool CanGenerateInlineConstructor(Object* prototype); 3994 bool CanGenerateInlineConstructor(Object* prototype);
3995 3995
3996 // Prevents further attempts to generate inline constructors. 3996 // Prevents further attempts to generate inline constructors.
3997 // To be called if generation failed for any reason. 3997 // To be called if generation failed for any reason.
3998 void ForbidInlineConstructor(); 3998 void ForbidInlineConstructor();
3999 3999
4000 // For functions which only contains this property assignments this provides 4000 // For functions which only contains this property assignments this provides
(...skipping 2100 matching lines...) Expand 10 before | Expand all | Expand 10 after
6101 } else { 6101 } else {
6102 value &= ~(1 << bit_position); 6102 value &= ~(1 << bit_position);
6103 } 6103 }
6104 return value; 6104 return value;
6105 } 6105 }
6106 }; 6106 };
6107 6107
6108 } } // namespace v8::internal 6108 } } // namespace v8::internal
6109 6109
6110 #endif // V8_OBJECTS_H_ 6110 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698