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

Side by Side Diff: src/cpu-profiler-inl.h

Issue 2084017: Version 2.2.11... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 7 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 | « src/cpu-profiler.cc ('k') | src/debug.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 code_map->MoveCode(from, to); 47 code_map->MoveCode(from, to);
48 } 48 }
49 49
50 50
51 void CodeDeleteEventRecord::UpdateCodeMap(CodeMap* code_map) { 51 void CodeDeleteEventRecord::UpdateCodeMap(CodeMap* code_map) {
52 code_map->DeleteCode(start); 52 code_map->DeleteCode(start);
53 } 53 }
54 54
55 55
56 void CodeAliasEventRecord::UpdateCodeMap(CodeMap* code_map) { 56 void CodeAliasEventRecord::UpdateCodeMap(CodeMap* code_map) {
57 code_map->AddAlias(alias, start); 57 code_map->AddAlias(start, entry, code_start);
58 } 58 }
59 59
60 60
61 TickSampleEventRecord* TickSampleEventRecord::init(void* value) { 61 TickSampleEventRecord* TickSampleEventRecord::init(void* value) {
62 TickSampleEventRecord* result = 62 TickSampleEventRecord* result =
63 reinterpret_cast<TickSampleEventRecord*>(value); 63 reinterpret_cast<TickSampleEventRecord*>(value);
64 result->filler = 1; 64 result->filler = 1;
65 ASSERT(result->filler != SamplingCircularQueue::kClear); 65 ASSERT(result->filler != SamplingCircularQueue::kClear);
66 // Init the required fields only. 66 // Init the required fields only.
67 result->sample.pc = NULL; 67 result->sample.pc = NULL;
(...skipping 22 matching lines...) Expand all
90 && tag != Logger::FUNCTION_TAG 90 && tag != Logger::FUNCTION_TAG
91 && tag != Logger::LAZY_COMPILE_TAG 91 && tag != Logger::LAZY_COMPILE_TAG
92 && tag != Logger::SCRIPT_TAG); 92 && tag != Logger::SCRIPT_TAG);
93 } 93 }
94 94
95 } } // namespace v8::internal 95 } } // namespace v8::internal
96 96
97 #endif // ENABLE_LOGGING_AND_PROFILING 97 #endif // ENABLE_LOGGING_AND_PROFILING
98 98
99 #endif // V8_CPU_PROFILER_INL_H_ 99 #endif // V8_CPU_PROFILER_INL_H_
OLDNEW
« no previous file with comments | « src/cpu-profiler.cc ('k') | src/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698