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

Side by Side Diff: src/log.cc

Issue 1764603003: Handle stack frames differently inside and on the boundary of wasm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 9 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
« no previous file with comments | « src/frames-inl.h ('k') | src/objects.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 // 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 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 break; 1569 break;
1570 case AbstractCode::STORE_IC: 1570 case AbstractCode::STORE_IC:
1571 description = "A store IC from the snapshot"; 1571 description = "A store IC from the snapshot";
1572 tag = Logger::STORE_IC_TAG; 1572 tag = Logger::STORE_IC_TAG;
1573 break; 1573 break;
1574 case AbstractCode::KEYED_STORE_IC: 1574 case AbstractCode::KEYED_STORE_IC:
1575 description = "A keyed store IC from the snapshot"; 1575 description = "A keyed store IC from the snapshot";
1576 tag = Logger::KEYED_STORE_IC_TAG; 1576 tag = Logger::KEYED_STORE_IC_TAG;
1577 break; 1577 break;
1578 case AbstractCode::WASM_FUNCTION: 1578 case AbstractCode::WASM_FUNCTION:
1579 description = "A wasm function"; 1579 description = "A Wasm function";
1580 tag = Logger::STUB_TAG;
1581 break;
1582 case AbstractCode::JS_TO_WASM_FUNCTION:
1583 description = "A JavaScript to Wasm adapter";
1584 tag = Logger::STUB_TAG;
1585 break;
1586 case AbstractCode::WASM_TO_JS_FUNCTION:
1587 description = "A Wasm to JavaScript adapter";
1580 tag = Logger::STUB_TAG; 1588 tag = Logger::STUB_TAG;
1581 break; 1589 break;
1582 } 1590 }
1583 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description)); 1591 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description));
1584 } 1592 }
1585 1593
1586 1594
1587 void Logger::LogCodeObjects() { 1595 void Logger::LogCodeObjects() {
1588 Heap* heap = isolate_->heap(); 1596 Heap* heap = isolate_->heap();
1589 heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, 1597 heap->CollectAllGarbage(Heap::kMakeHeapIterableMask,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 removeCodeEventListener(jit_logger_); 1843 removeCodeEventListener(jit_logger_);
1836 delete jit_logger_; 1844 delete jit_logger_;
1837 jit_logger_ = NULL; 1845 jit_logger_ = NULL;
1838 } 1846 }
1839 1847
1840 return log_->Close(); 1848 return log_->Close();
1841 } 1849 }
1842 1850
1843 } // namespace internal 1851 } // namespace internal
1844 } // namespace v8 1852 } // namespace v8
OLDNEW
« no previous file with comments | « src/frames-inl.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698