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

Side by Side Diff: src/objects.h

Issue 202018: Heap profiler: account primitive string objects as being constructed using 'String'. (Closed)
Patch Set: Fixed comments Created 11 years, 3 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
« no previous file with comments | « src/log.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 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 1385
1386 // Sets a property that currently has lazy loading. 1386 // Sets a property that currently has lazy loading.
1387 Object* SetLazyProperty(LookupResult* result, 1387 Object* SetLazyProperty(LookupResult* result,
1388 String* name, 1388 String* name,
1389 Object* value, 1389 Object* value,
1390 PropertyAttributes attributes); 1390 PropertyAttributes attributes);
1391 1391
1392 // Returns the class name ([[Class]] property in the specification). 1392 // Returns the class name ([[Class]] property in the specification).
1393 String* class_name(); 1393 String* class_name();
1394 1394
1395 // Returns the constructor name (the name (possibly, inferred name) of the
1396 // function that was used to instantiate the object).
1397 String* constructor_name();
1398
1395 // Retrieve interceptors. 1399 // Retrieve interceptors.
1396 InterceptorInfo* GetNamedInterceptor(); 1400 InterceptorInfo* GetNamedInterceptor();
1397 InterceptorInfo* GetIndexedInterceptor(); 1401 InterceptorInfo* GetIndexedInterceptor();
1398 1402
1399 inline PropertyAttributes GetPropertyAttribute(String* name); 1403 inline PropertyAttributes GetPropertyAttribute(String* name);
1400 PropertyAttributes GetPropertyAttributeWithReceiver(JSObject* receiver, 1404 PropertyAttributes GetPropertyAttributeWithReceiver(JSObject* receiver,
1401 String* name); 1405 String* name);
1402 PropertyAttributes GetLocalPropertyAttribute(String* name); 1406 PropertyAttributes GetLocalPropertyAttribute(String* name);
1403 1407
1404 Object* DefineAccessor(String* name, bool is_getter, JSFunction* fun, 1408 Object* DefineAccessor(String* name, bool is_getter, JSFunction* fun,
(...skipping 3456 matching lines...) Expand 10 before | Expand all | Expand 10 after
4861 } else { 4865 } else {
4862 value &= ~(1 << bit_position); 4866 value &= ~(1 << bit_position);
4863 } 4867 }
4864 return value; 4868 return value;
4865 } 4869 }
4866 }; 4870 };
4867 4871
4868 } } // namespace v8::internal 4872 } } // namespace v8::internal
4869 4873
4870 #endif // V8_OBJECTS_H_ 4874 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698