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

Side by Side Diff: src/log.cc

Issue 11414262: Revert 13105: "Enable stub generation using Hydrogen/Lithium." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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/lithium-allocator.cc ('k') | src/mips/codegen-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 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 LogEventsAndTags tag = Logger::STUB_TAG; 1530 LogEventsAndTags tag = Logger::STUB_TAG;
1531 const char* description = "Unknown code from the snapshot"; 1531 const char* description = "Unknown code from the snapshot";
1532 switch (code_object->kind()) { 1532 switch (code_object->kind()) {
1533 case Code::FUNCTION: 1533 case Code::FUNCTION:
1534 case Code::OPTIMIZED_FUNCTION: 1534 case Code::OPTIMIZED_FUNCTION:
1535 return; // We log this later using LogCompiledFunctions. 1535 return; // We log this later using LogCompiledFunctions.
1536 case Code::UNARY_OP_IC: // fall through 1536 case Code::UNARY_OP_IC: // fall through
1537 case Code::BINARY_OP_IC: // fall through 1537 case Code::BINARY_OP_IC: // fall through
1538 case Code::COMPARE_IC: // fall through 1538 case Code::COMPARE_IC: // fall through
1539 case Code::TO_BOOLEAN_IC: // fall through 1539 case Code::TO_BOOLEAN_IC: // fall through
1540 case Code::COMPILED_STUB: // fall through
1541 case Code::STUB: 1540 case Code::STUB:
1542 description = 1541 description =
1543 CodeStub::MajorName(CodeStub::GetMajorKey(code_object), true); 1542 CodeStub::MajorName(CodeStub::GetMajorKey(code_object), true);
1544 if (description == NULL) 1543 if (description == NULL)
1545 description = "A stub from the snapshot"; 1544 description = "A stub from the snapshot";
1546 tag = Logger::STUB_TAG; 1545 tag = Logger::STUB_TAG;
1547 break; 1546 break;
1548 case Code::BUILTIN: 1547 case Code::BUILTIN:
1549 description = "A builtin from the snapshot"; 1548 description = "A builtin from the snapshot";
1550 tag = Logger::BUILTIN_TAG; 1549 tag = Logger::BUILTIN_TAG;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) { 1931 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) {
1933 ASSERT(sampler->IsActive()); 1932 ASSERT(sampler->IsActive());
1934 ScopedLock lock(active_samplers_mutex); 1933 ScopedLock lock(active_samplers_mutex);
1935 ASSERT(active_samplers_ != NULL); 1934 ASSERT(active_samplers_ != NULL);
1936 bool removed = active_samplers_->RemoveElement(sampler); 1935 bool removed = active_samplers_->RemoveElement(sampler);
1937 ASSERT(removed); 1936 ASSERT(removed);
1938 USE(removed); 1937 USE(removed);
1939 } 1938 }
1940 1939
1941 } } // namespace v8::internal 1940 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/mips/codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698