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

Side by Side Diff: src/objects.h

Issue 467183002: When marking dependent code for deoptimization print the group that is being deoptimized. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 5988 matching lines...) Expand 10 before | Expand all | Expand 10 after
5999 inline void set_object_at(int i, Object* object); 5999 inline void set_object_at(int i, Object* object);
6000 inline Object** slot_at(int i); 6000 inline Object** slot_at(int i);
6001 inline Object* object_at(int i); 6001 inline Object* object_at(int i);
6002 inline void clear_at(int i); 6002 inline void clear_at(int i);
6003 inline void copy(int from, int to); 6003 inline void copy(int from, int to);
6004 DECLARE_CAST(DependentCode) 6004 DECLARE_CAST(DependentCode)
6005 6005
6006 static DependentCode* ForObject(Handle<HeapObject> object, 6006 static DependentCode* ForObject(Handle<HeapObject> object,
6007 DependencyGroup group); 6007 DependencyGroup group);
6008 6008
6009 static const char* DependencyGroupName(DependencyGroup group);
6010 static void SetMarkedForDeoptimization(Code* code, DependencyGroup group);
6011
6009 private: 6012 private:
6010 // Make a room at the end of the given group by moving out the first 6013 // Make a room at the end of the given group by moving out the first
6011 // code objects of the subsequent groups. 6014 // code objects of the subsequent groups.
6012 inline void ExtendGroup(DependencyGroup group); 6015 inline void ExtendGroup(DependencyGroup group);
6013 static const int kCodesStartIndex = kGroupCount; 6016 static const int kCodesStartIndex = kGroupCount;
6014 }; 6017 };
6015 6018
6016 6019
6017 // All heap objects have a Map that describes their structure. 6020 // All heap objects have a Map that describes their structure.
6018 // A Map contains information about: 6021 // A Map contains information about:
(...skipping 5192 matching lines...) Expand 10 before | Expand all | Expand 10 after
11211 } else { 11214 } else {
11212 value &= ~(1 << bit_position); 11215 value &= ~(1 << bit_position);
11213 } 11216 }
11214 return value; 11217 return value;
11215 } 11218 }
11216 }; 11219 };
11217 11220
11218 } } // namespace v8::internal 11221 } } // namespace v8::internal
11219 11222
11220 #endif // V8_OBJECTS_H_ 11223 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698