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

Unified Diff: src/isolate.h

Issue 3043060: [Isolates] Replace ISOLATE_FROM_HEAP with Heap::isolate() (Closed)
Patch Set: Created 10 years, 4 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/builtins.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 2df89c3d1cb1320eac434ae7279bb730713d3d98..c6fed5803cf6fa90a58f0d258aae220c5dcdc265 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1035,12 +1035,6 @@ class Isolate {
};
-#define ISOLATE_FROM_HEAP(heap_pointer) ((Isolate*)( \
- (uint8_t*)(heap_pointer) - \
- (size_t)((Isolate*)sizeof(Isolate))->heap() + \
- sizeof(Isolate)))
-
-
// If the GCC version is 4.1.x or 4.2.x an additional field is added to the
// class as a work around for a bug in the generated code found with these
// versions of GCC. See V8 issue 122 for details.
« no previous file with comments | « src/builtins.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698