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

Side by Side Diff: src/isolate.h

Issue 2069823003: [wasm] Enable wasm frame inspection for debugging (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@split-wasm-debug
Patch Set: Add two DCHECKs Created 4 years, 6 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/isolate.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 // versions of GCC. See V8 issue 122 for details. 1457 // versions of GCC. See V8 issue 122 for details.
1458 class SaveContext BASE_EMBEDDED { 1458 class SaveContext BASE_EMBEDDED {
1459 public: 1459 public:
1460 explicit SaveContext(Isolate* isolate); 1460 explicit SaveContext(Isolate* isolate);
1461 ~SaveContext(); 1461 ~SaveContext();
1462 1462
1463 Handle<Context> context() { return context_; } 1463 Handle<Context> context() { return context_; }
1464 SaveContext* prev() { return prev_; } 1464 SaveContext* prev() { return prev_; }
1465 1465
1466 // Returns true if this save context is below a given JavaScript frame. 1466 // Returns true if this save context is below a given JavaScript frame.
1467 bool IsBelowFrame(JavaScriptFrame* frame) { 1467 bool IsBelowFrame(StandardFrame* frame) {
1468 return (c_entry_fp_ == 0) || (c_entry_fp_ > frame->sp()); 1468 return (c_entry_fp_ == 0) || (c_entry_fp_ > frame->sp());
1469 } 1469 }
1470 1470
1471 private: 1471 private:
1472 Isolate* isolate_; 1472 Isolate* isolate_;
1473 Handle<Context> context_; 1473 Handle<Context> context_;
1474 SaveContext* prev_; 1474 SaveContext* prev_;
1475 Address c_entry_fp_; 1475 Address c_entry_fp_;
1476 }; 1476 };
1477 1477
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 1644
1645 EmbeddedVector<char, 128> filename_; 1645 EmbeddedVector<char, 128> filename_;
1646 FILE* file_; 1646 FILE* file_;
1647 int scope_depth_; 1647 int scope_depth_;
1648 }; 1648 };
1649 1649
1650 } // namespace internal 1650 } // namespace internal
1651 } // namespace v8 1651 } // namespace v8
1652 1652
1653 #endif // V8_ISOLATE_H_ 1653 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/frames-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698