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

Side by Side Diff: src/objects.h

Issue 173349: Reverting 2753. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 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/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 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 3090 matching lines...) Expand 10 before | Expand all | Expand 10 after
3101 // drive optimization. 3101 // drive optimization.
3102 inline int compiler_hints(); 3102 inline int compiler_hints();
3103 inline void set_compiler_hints(int value); 3103 inline void set_compiler_hints(int value);
3104 3104
3105 // Add information on assignments of the form this.x = ...; 3105 // Add information on assignments of the form this.x = ...;
3106 void SetThisPropertyAssignmentsInfo( 3106 void SetThisPropertyAssignmentsInfo(
3107 bool has_only_this_property_assignments, 3107 bool has_only_this_property_assignments,
3108 bool has_only_simple_this_property_assignments, 3108 bool has_only_simple_this_property_assignments,
3109 FixedArray* this_property_assignments); 3109 FixedArray* this_property_assignments);
3110 3110
3111 // Clear information on assignments of the form this.x = ...;
3112 void ClearThisPropertyAssignmentsInfo();
3113
3114 // Indicate that this function only consists of assignments of the form 3111 // Indicate that this function only consists of assignments of the form
3115 // this.x = ...;. 3112 // this.x = ...;.
3116 inline bool has_only_this_property_assignments(); 3113 inline bool has_only_this_property_assignments();
3117 3114
3118 // Indicate that this function only consists of assignments of the form 3115 // Indicate that this function only consists of assignments of the form
3119 // this.x = y; where y is either a constant or refers to an argument. 3116 // this.x = y; where y is either a constant or refers to an argument.
3120 inline bool has_only_simple_this_property_assignments(); 3117 inline bool has_only_simple_this_property_assignments();
3121 3118
3122 // For functions which only contains this property assignments this provides 3119 // For functions which only contains this property assignments this provides
3123 // access to the names for the properties assigned. 3120 // access to the names for the properties assigned.
3124 DECL_ACCESSORS(this_property_assignments, Object) 3121 DECL_ACCESSORS(this_property_assignments, Object)
3125 inline int this_property_assignments_count(); 3122 inline int this_property_assignments_count();
3126 inline void set_this_property_assignments_count(int value); 3123 inline void set_this_property_assignments_count(int value);
3127 String* GetThisPropertyAssignmentName(int index); 3124 String* GetThisPropertyAssignmentName(int index);
3128 bool IsThisPropertyAssignmentArgument(int index);
3129 int GetThisPropertyAssignmentArgument(int index);
3130 Object* GetThisPropertyAssignmentConstant(int index);
3131 3125
3132 // [source code]: Source code for the function. 3126 // [source code]: Source code for the function.
3133 bool HasSourceCode(); 3127 bool HasSourceCode();
3134 Object* GetSourceCode(); 3128 Object* GetSourceCode();
3135 3129
3136 // Calculate the instance size. 3130 // Calculate the instance size.
3137 int CalculateInstanceSize(); 3131 int CalculateInstanceSize();
3138 3132
3139 // Calculate the number of in-object properties. 3133 // Calculate the number of in-object properties.
3140 int CalculateInObjectProperties(); 3134 int CalculateInObjectProperties();
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after
4843 } else { 4837 } else {
4844 value &= ~(1 << bit_position); 4838 value &= ~(1 << bit_position);
4845 } 4839 }
4846 return value; 4840 return value;
4847 } 4841 }
4848 }; 4842 };
4849 4843
4850 } } // namespace v8::internal 4844 } } // namespace v8::internal
4851 4845
4852 #endif // V8_OBJECTS_H_ 4846 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698