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

Side by Side Diff: src/objects.h

Issue 984773003: CpuProfiler: fix for GetDeoptReason code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 9 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 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 <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 5393 matching lines...) Expand 10 before | Expand all | Expand 10 after
5404 static bool IsYoungSequence(Isolate* isolate, byte* sequence); 5404 static bool IsYoungSequence(Isolate* isolate, byte* sequence);
5405 bool IsOld(); 5405 bool IsOld();
5406 Age GetAge(); 5406 Age GetAge();
5407 // Gets the raw code age, including psuedo code-age values such as 5407 // Gets the raw code age, including psuedo code-age values such as
5408 // kNotExecutedCodeAge and kExecutedOnceCodeAge. 5408 // kNotExecutedCodeAge and kExecutedOnceCodeAge.
5409 Age GetRawAge(); 5409 Age GetRawAge();
5410 static inline Code* GetPreAgedCodeAgeStub(Isolate* isolate) { 5410 static inline Code* GetPreAgedCodeAgeStub(Isolate* isolate) {
5411 return GetCodeAgeStub(isolate, kNotExecutedCodeAge, NO_MARKING_PARITY); 5411 return GetCodeAgeStub(isolate, kNotExecutedCodeAge, NO_MARKING_PARITY);
5412 } 5412 }
5413 5413
5414 void PrintDeoptLocation(FILE* out, int bailout_id); 5414 void PrintDeoptLocation(FILE* out, Address pc);
5415 bool CanDeoptAt(Address pc); 5415 bool CanDeoptAt(Address pc);
5416 5416
5417 #ifdef VERIFY_HEAP 5417 #ifdef VERIFY_HEAP
5418 void VerifyEmbeddedObjectsDependency(); 5418 void VerifyEmbeddedObjectsDependency();
5419 #endif 5419 #endif
5420 5420
5421 #ifdef DEBUG 5421 #ifdef DEBUG
5422 enum VerifyMode { kNoContextSpecificPointers, kNoContextRetainingPointers }; 5422 enum VerifyMode { kNoContextSpecificPointers, kNoContextRetainingPointers };
5423 void VerifyEmbeddedObjects(VerifyMode mode = kNoContextRetainingPointers); 5423 void VerifyEmbeddedObjects(VerifyMode mode = kNoContextRetainingPointers);
5424 #endif // DEBUG 5424 #endif // DEBUG
(...skipping 5581 matching lines...) Expand 10 before | Expand all | Expand 10 after
11006 } else { 11006 } else {
11007 value &= ~(1 << bit_position); 11007 value &= ~(1 << bit_position);
11008 } 11008 }
11009 return value; 11009 return value;
11010 } 11010 }
11011 }; 11011 };
11012 11012
11013 } } // namespace v8::internal 11013 } } // namespace v8::internal
11014 11014
11015 #endif // V8_OBJECTS_H_ 11015 #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