| 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 4394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4405 | 4405 |
| 4406 | 4406 |
| 4407 double CpuProfileNode::GetSelfSamplesCount() const { | 4407 double CpuProfileNode::GetSelfSamplesCount() const { |
| 4408 IsDeadCheck("v8::CpuProfileNode::GetSelfSamplesCount"); | 4408 IsDeadCheck("v8::CpuProfileNode::GetSelfSamplesCount"); |
| 4409 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks(); | 4409 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks(); |
| 4410 } | 4410 } |
| 4411 | 4411 |
| 4412 | 4412 |
| 4413 unsigned CpuProfileNode::GetCallUid() const { | 4413 unsigned CpuProfileNode::GetCallUid() const { |
| 4414 IsDeadCheck("v8::CpuProfileNode::GetCallUid"); | 4414 IsDeadCheck("v8::CpuProfileNode::GetCallUid"); |
| 4415 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->call_uid(); | 4415 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->GetCallUid(); |
| 4416 } | 4416 } |
| 4417 | 4417 |
| 4418 | 4418 |
| 4419 int CpuProfileNode::GetChildrenCount() const { | 4419 int CpuProfileNode::GetChildrenCount() const { |
| 4420 IsDeadCheck("v8::CpuProfileNode::GetChildrenCount"); | 4420 IsDeadCheck("v8::CpuProfileNode::GetChildrenCount"); |
| 4421 return reinterpret_cast<const i::ProfileNode*>(this)->children()->length(); | 4421 return reinterpret_cast<const i::ProfileNode*>(this)->children()->length(); |
| 4422 } | 4422 } |
| 4423 | 4423 |
| 4424 | 4424 |
| 4425 const CpuProfileNode* CpuProfileNode::GetChild(int index) const { | 4425 const CpuProfileNode* CpuProfileNode::GetChild(int index) const { |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4835 | 4835 |
| 4836 | 4836 |
| 4837 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 4837 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
| 4838 HandleScopeImplementer* thread_local = | 4838 HandleScopeImplementer* thread_local = |
| 4839 reinterpret_cast<HandleScopeImplementer*>(storage); | 4839 reinterpret_cast<HandleScopeImplementer*>(storage); |
| 4840 thread_local->IterateThis(v); | 4840 thread_local->IterateThis(v); |
| 4841 return storage + ArchiveSpacePerThread(); | 4841 return storage + ArchiveSpacePerThread(); |
| 4842 } | 4842 } |
| 4843 | 4843 |
| 4844 } } // namespace v8::internal | 4844 } } // namespace v8::internal |
| OLD | NEW |