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

Unified Diff: src/debug/debug.cc

Issue 1474763008: Always pass an Isolate to AssemblerBase (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug.h ('k') | src/debug/ia32/debug-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.cc
diff --git a/src/debug/debug.cc b/src/debug/debug.cc
index d6e4637d9876a40487cac04b638acf6669de69c3..5d0ee54ec870ba3fcdcdb344d2694791e89227ba 100644
--- a/src/debug/debug.cc
+++ b/src/debug/debug.cc
@@ -281,10 +281,11 @@ void BreakLocation::SetDebugBreak() {
if (IsDebugBreak()) return;
DCHECK(IsDebugBreakSlot());
- Builtins* builtins = debug_info_->GetIsolate()->builtins();
+ Isolate* isolate = debug_info_->GetIsolate();
+ Builtins* builtins = isolate->builtins();
Handle<Code> target =
IsReturn() ? builtins->Return_DebugBreak() : builtins->Slot_DebugBreak();
- DebugCodegen::PatchDebugBreakSlot(pc(), target);
+ DebugCodegen::PatchDebugBreakSlot(isolate, pc(), target);
DCHECK(IsDebugBreak());
}
@@ -294,7 +295,7 @@ void BreakLocation::ClearDebugBreak() {
if (IsDebuggerStatement()) return;
DCHECK(IsDebugBreakSlot());
- DebugCodegen::ClearDebugBreakSlot(pc());
+ DebugCodegen::ClearDebugBreakSlot(debug_info_->GetIsolate(), pc());
DCHECK(!IsDebugBreak());
}
« no previous file with comments | « src/debug/debug.h ('k') | src/debug/ia32/debug-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698