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

Unified Diff: src/objects.h

Issue 8103: - Fixed performance regression caused by ComputeContextSlotReceiver.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap.cc ('k') | src/objects.cc » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
===================================================================
--- src/objects.h (revision 572)
+++ src/objects.h (working copy)
@@ -1601,7 +1601,6 @@
inline void Get(int descriptor_number, Descriptor* desc);
inline void Set(int descriptor_number, Descriptor* desc);
-
// Copy the descriptor array, insert a new descriptor and optionally
// remove map transitions. If the descriptor is already present, it is
// replaced. If a replaced descriptor is a real property (not a transition
@@ -2460,7 +2459,7 @@
// The byte at position 3 is not in use at the moment.
// Bit positions for bit field.
- static const int kUnused = 0; // To be used for marking recently used maps.
+ static const int kUnusedXX = 0; // To be used for marking recently used maps.
Kasper Lund 2008/10/23 14:51:33 Did you mean to change this?
static const int kHasNonInstancePrototype = 1;
static const int kIsHiddenPrototype = 2;
static const int kHasNamedInterceptor = 3;
@@ -2750,7 +2749,7 @@
#endif
// Returns the number of allocated literals.
- int NumberOfLiterals();
+ inline int NumberOfLiterals();
// Retrieve the global context from a function's literal array.
static Context* GlobalContextFromLiterals(FixedArray* literals);
@@ -3347,11 +3346,13 @@
public:
// First object of the cons cell.
inline Object* first();
- inline void set_first(Object* first);
+ inline void set_first(Object* first,
+ WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
// Second object of the cons cell.
inline Object* second();
- inline void set_second(Object* second);
+ inline void set_second(Object* second,
+ WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
// Dispatched behavior.
uint16_t ConsStringGet(int index);
« no previous file with comments | « src/heap.cc ('k') | src/objects.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698