OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 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 4415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4426 | 4426 |
4427 | 4427 |
4428 double CpuProfileNode::GetSelfSamplesCount() const { | 4428 double CpuProfileNode::GetSelfSamplesCount() const { |
4429 IsDeadCheck("v8::CpuProfileNode::GetSelfSamplesCount"); | 4429 IsDeadCheck("v8::CpuProfileNode::GetSelfSamplesCount"); |
4430 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks(); | 4430 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks(); |
4431 } | 4431 } |
4432 | 4432 |
4433 | 4433 |
4434 unsigned CpuProfileNode::GetCallUid() const { | 4434 unsigned CpuProfileNode::GetCallUid() const { |
4435 IsDeadCheck("v8::CpuProfileNode::GetCallUid"); | 4435 IsDeadCheck("v8::CpuProfileNode::GetCallUid"); |
4436 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->call_uid(); | 4436 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->GetCallUid(); |
4437 } | 4437 } |
4438 | 4438 |
4439 | 4439 |
4440 int CpuProfileNode::GetChildrenCount() const { | 4440 int CpuProfileNode::GetChildrenCount() const { |
4441 IsDeadCheck("v8::CpuProfileNode::GetChildrenCount"); | 4441 IsDeadCheck("v8::CpuProfileNode::GetChildrenCount"); |
4442 return reinterpret_cast<const i::ProfileNode*>(this)->children()->length(); | 4442 return reinterpret_cast<const i::ProfileNode*>(this)->children()->length(); |
4443 } | 4443 } |
4444 | 4444 |
4445 | 4445 |
4446 const CpuProfileNode* CpuProfileNode::GetChild(int index) const { | 4446 const CpuProfileNode* CpuProfileNode::GetChild(int index) const { |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4873 | 4873 |
4874 | 4874 |
4875 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 4875 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
4876 HandleScopeImplementer* thread_local = | 4876 HandleScopeImplementer* thread_local = |
4877 reinterpret_cast<HandleScopeImplementer*>(storage); | 4877 reinterpret_cast<HandleScopeImplementer*>(storage); |
4878 thread_local->IterateThis(v); | 4878 thread_local->IterateThis(v); |
4879 return storage + ArchiveSpacePerThread(); | 4879 return storage + ArchiveSpacePerThread(); |
4880 } | 4880 } |
4881 | 4881 |
4882 } } // namespace v8::internal | 4882 } } // namespace v8::internal |
OLD | NEW |