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

Unified Diff: src/jump-target.h

Issue 435003: Patch for allowing several V8 instances in process:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years 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/jsregexp.cc ('k') | src/jump-target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jump-target.h
===================================================================
--- src/jump-target.h (revision 3427)
+++ src/jump-target.h (working copy)
@@ -38,6 +38,29 @@
class Result;
class VirtualFrame;
+typedef ZoneList<Handle<Object> > ZoneObjectList;
+
+class CodeGeneratorData {
+ CodeGenerator* top_;
+ bool compiling_deferred_code_;
+ ZoneObjectList* result_constants_list_;
+ ZoneObjectList* frame_element_constants_list_;
+
+ ZoneObjectList* result_constants_list();
+ ZoneObjectList* frame_element_constants_list();
+
+ friend class CodeGeneratorScope;
+ friend class JumpTarget;
+ friend class V8Context;
+ friend class Result;
+ friend class FrameElement;
+
+ CodeGeneratorData();
+ ~CodeGeneratorData();
+
+ DISALLOW_COPY_AND_ASSIGN(CodeGeneratorData);
+};
+
// -------------------------------------------------------------------------
// Jump targets
//
@@ -129,7 +152,7 @@
void Call();
static void set_compiling_deferred_code(bool flag) {
- compiling_deferred_code_ = flag;
+ v8_context()->code_generator_data_.compiling_deferred_code_ = flag;
}
protected:
@@ -157,7 +180,6 @@
void DoBind();
private:
- static bool compiling_deferred_code_;
// Add a virtual frame reaching this labeled block via a forward jump,
// and a corresponding merge code label.
« no previous file with comments | « src/jsregexp.cc ('k') | src/jump-target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698