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

Side by Side Diff: src/log.cc

Issue 1476413003: Provide call counts for constructor calls, surface them as a vector IC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 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
« no previous file with comments | « src/log.h ('k') | src/mips/code-stubs-mips.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/log.h" 5 #include "src/log.h"
6 6
7 #include <cstdarg> 7 #include <cstdarg>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 tag = Logger::KEYED_LOAD_IC_TAG; 1636 tag = Logger::KEYED_LOAD_IC_TAG;
1637 break; 1637 break;
1638 case Code::LOAD_IC: 1638 case Code::LOAD_IC:
1639 description = "A load IC from the snapshot"; 1639 description = "A load IC from the snapshot";
1640 tag = Logger::LOAD_IC_TAG; 1640 tag = Logger::LOAD_IC_TAG;
1641 break; 1641 break;
1642 case Code::CALL_IC: 1642 case Code::CALL_IC:
1643 description = "A call IC from the snapshot"; 1643 description = "A call IC from the snapshot";
1644 tag = Logger::CALL_IC_TAG; 1644 tag = Logger::CALL_IC_TAG;
1645 break; 1645 break;
1646 case Code::CONSTRUCT_IC:
1647 description = "A construct IC from the snapshot";
1648 tag = Logger::CONSTRUCT_IC_TAG;
1649 break;
1646 case Code::STORE_IC: 1650 case Code::STORE_IC:
1647 description = "A store IC from the snapshot"; 1651 description = "A store IC from the snapshot";
1648 tag = Logger::STORE_IC_TAG; 1652 tag = Logger::STORE_IC_TAG;
1649 break; 1653 break;
1650 case Code::KEYED_STORE_IC: 1654 case Code::KEYED_STORE_IC:
1651 description = "A keyed store IC from the snapshot"; 1655 description = "A keyed store IC from the snapshot";
1652 tag = Logger::KEYED_STORE_IC_TAG; 1656 tag = Logger::KEYED_STORE_IC_TAG;
1653 break; 1657 break;
1654 case Code::WASM_FUNCTION: 1658 case Code::WASM_FUNCTION:
1655 description = "A wasm function"; 1659 description = "A wasm function";
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 removeCodeEventListener(jit_logger_); 1917 removeCodeEventListener(jit_logger_);
1914 delete jit_logger_; 1918 delete jit_logger_;
1915 jit_logger_ = NULL; 1919 jit_logger_ = NULL;
1916 } 1920 }
1917 1921
1918 return log_->Close(); 1922 return log_->Close();
1919 } 1923 }
1920 1924
1921 } // namespace internal 1925 } // namespace internal
1922 } // namespace v8 1926 } // namespace v8
OLDNEW
« no previous file with comments | « src/log.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698