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

Side by Side Diff: src/log.cc

Issue 10701054: Enable stub generation using Hydrogen/Lithium (again) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: First pass at pre-VFP2 RA Created 8 years, 1 month 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
Jakob Kummerow 2012/11/19 12:36:00 you know..
danno 2012/11/26 17:16:18 Done.
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
11 // with the distribution. 11 // with the distribution.
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 LogEventsAndTags tag = Logger::STUB_TAG; 1470 LogEventsAndTags tag = Logger::STUB_TAG;
1471 const char* description = "Unknown code from the snapshot"; 1471 const char* description = "Unknown code from the snapshot";
1472 switch (code_object->kind()) { 1472 switch (code_object->kind()) {
1473 case Code::FUNCTION: 1473 case Code::FUNCTION:
1474 case Code::OPTIMIZED_FUNCTION: 1474 case Code::OPTIMIZED_FUNCTION:
1475 return; // We log this later using LogCompiledFunctions. 1475 return; // We log this later using LogCompiledFunctions.
1476 case Code::UNARY_OP_IC: // fall through 1476 case Code::UNARY_OP_IC: // fall through
1477 case Code::BINARY_OP_IC: // fall through 1477 case Code::BINARY_OP_IC: // fall through
1478 case Code::COMPARE_IC: // fall through 1478 case Code::COMPARE_IC: // fall through
1479 case Code::TO_BOOLEAN_IC: // fall through 1479 case Code::TO_BOOLEAN_IC: // fall through
1480 case Code::COMPILED_STUB: // fall through
1480 case Code::STUB: 1481 case Code::STUB:
1481 description = 1482 description =
1482 CodeStub::MajorName(CodeStub::GetMajorKey(code_object), true); 1483 CodeStub::MajorName(CodeStub::GetMajorKey(code_object), true);
1483 if (description == NULL) 1484 if (description == NULL)
1484 description = "A stub from the snapshot"; 1485 description = "A stub from the snapshot";
1485 tag = Logger::STUB_TAG; 1486 tag = Logger::STUB_TAG;
1486 break; 1487 break;
1487 case Code::BUILTIN: 1488 case Code::BUILTIN:
1488 description = "A builtin from the snapshot"; 1489 description = "A builtin from the snapshot";
1489 tag = Logger::BUILTIN_TAG; 1490 tag = Logger::BUILTIN_TAG;
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) { 1869 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) {
1869 ASSERT(sampler->IsActive()); 1870 ASSERT(sampler->IsActive());
1870 ScopedLock lock(active_samplers_mutex); 1871 ScopedLock lock(active_samplers_mutex);
1871 ASSERT(active_samplers_ != NULL); 1872 ASSERT(active_samplers_ != NULL);
1872 bool removed = active_samplers_->RemoveElement(sampler); 1873 bool removed = active_samplers_->RemoveElement(sampler);
1873 ASSERT(removed); 1874 ASSERT(removed);
1874 USE(removed); 1875 USE(removed);
1875 } 1876 }
1876 1877
1877 } } // namespace v8::internal 1878 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698