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

Side by Side Diff: src/api.cc

Issue 3431016: Merge r5492 into 2.3 branch. Fix for showing regexps in profiler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/2.3/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « no previous file | src/cpu-profiler-inl.h » ('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 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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/cpu-profiler-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698