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

Side by Side Diff: src/log.cc

Issue 7063017: Rename TypeRecording...Stub into ...Stub. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/ic.cc ('k') | src/mips/code-stubs-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 1597
1598 void Logger::LogCodeObject(Object* object) { 1598 void Logger::LogCodeObject(Object* object) {
1599 if (FLAG_log_code || FLAG_ll_prof) { 1599 if (FLAG_log_code || FLAG_ll_prof) {
1600 Code* code_object = Code::cast(object); 1600 Code* code_object = Code::cast(object);
1601 LogEventsAndTags tag = Logger::STUB_TAG; 1601 LogEventsAndTags tag = Logger::STUB_TAG;
1602 const char* description = "Unknown code from the snapshot"; 1602 const char* description = "Unknown code from the snapshot";
1603 switch (code_object->kind()) { 1603 switch (code_object->kind()) {
1604 case Code::FUNCTION: 1604 case Code::FUNCTION:
1605 case Code::OPTIMIZED_FUNCTION: 1605 case Code::OPTIMIZED_FUNCTION:
1606 return; // We log this later using LogCompiledFunctions. 1606 return; // We log this later using LogCompiledFunctions.
1607 case Code::TYPE_RECORDING_UNARY_OP_IC: // fall through 1607 case Code::UNARY_OP_IC: // fall through
1608 case Code::TYPE_RECORDING_BINARY_OP_IC: // fall through 1608 case Code::BINARY_OP_IC: // fall through
1609 case Code::COMPARE_IC: // fall through 1609 case Code::COMPARE_IC: // fall through
1610 case Code::STUB: 1610 case Code::STUB:
1611 description = 1611 description =
1612 CodeStub::MajorName(CodeStub::GetMajorKey(code_object), true); 1612 CodeStub::MajorName(CodeStub::GetMajorKey(code_object), true);
1613 if (description == NULL) 1613 if (description == NULL)
1614 description = "A stub from the snapshot"; 1614 description = "A stub from the snapshot";
1615 tag = Logger::STUB_TAG; 1615 tag = Logger::STUB_TAG;
1616 break; 1616 break;
1617 case Code::BUILTIN: 1617 case Code::BUILTIN:
1618 description = "A builtin from the snapshot"; 1618 description = "A builtin from the snapshot";
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) { 1984 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) {
1985 ASSERT(sampler->IsActive()); 1985 ASSERT(sampler->IsActive());
1986 ScopedLock lock(mutex_); 1986 ScopedLock lock(mutex_);
1987 ASSERT(active_samplers_ != NULL); 1987 ASSERT(active_samplers_ != NULL);
1988 bool removed = active_samplers_->RemoveElement(sampler); 1988 bool removed = active_samplers_->RemoveElement(sampler);
1989 ASSERT(removed); 1989 ASSERT(removed);
1990 USE(removed); 1990 USE(removed);
1991 } 1991 }
1992 1992
1993 } } // namespace v8::internal 1993 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/mips/code-stubs-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698