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

Unified Diff: src/heap.cc

Issue 12317141: Added Isolate parameter to CodeStub::GetCode(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed whitespace. Rebased. Created 7 years, 10 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/code-stubs.cc ('k') | src/ia32/code-stubs-ia32.h » ('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 9028989b8768440f1d36eaf479cc3cafe394d5f1..b6ef3f58dcadb70b735ac2914cd54464c77820ab 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -2689,13 +2689,13 @@ bool Heap::CreateApiObjects() {
void Heap::CreateJSEntryStub() {
JSEntryStub stub;
- set_js_entry_code(*stub.GetCode());
+ set_js_entry_code(*stub.GetCode(isolate()));
}
void Heap::CreateJSConstructEntryStub() {
JSConstructEntryStub stub;
- set_js_construct_entry_code(*stub.GetCode());
+ set_js_construct_entry_code(*stub.GetCode(isolate()));
}
@@ -2720,7 +2720,7 @@ void Heap::CreateFixedStubs() {
// create them if we need them during the creation of another stub.
// Stub creation mixes raw pointers and handles in an unsafe manner so
// we cannot create stubs while we are creating stubs.
- CodeStub::GenerateStubsAheadOfTime();
+ CodeStub::GenerateStubsAheadOfTime(isolate());
}
« no previous file with comments | « src/code-stubs.cc ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698