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

Unified Diff: src/heap.cc

Issue 246643014: CodeStubs contain their corresponding Isolate* now. (part 1) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Feedback. Rebased. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/frames.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 858dbf4343ef64b74cd2324c310cfe04e7392928..7f23886ec52b889ed205ffa3d79d9588b701954b 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -2779,13 +2779,13 @@ bool Heap::CreateApiObjects() {
void Heap::CreateJSEntryStub() {
- JSEntryStub stub;
+ JSEntryStub stub(isolate());
set_js_entry_code(*stub.GetCode(isolate()));
}
void Heap::CreateJSConstructEntryStub() {
- JSConstructEntryStub stub;
+ JSConstructEntryStub stub(isolate());
set_js_construct_entry_code(*stub.GetCode(isolate()));
}
« no previous file with comments | « src/frames.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698