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

Side by Side Diff: src/v8.h

Issue 9227007: Version 3.8.6 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/utils.h ('k') | src/v8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 static void AddCallCompletedCallback(CallCompletedCallback callback); 111 static void AddCallCompletedCallback(CallCompletedCallback callback);
112 static void RemoveCallCompletedCallback(CallCompletedCallback callback); 112 static void RemoveCallCompletedCallback(CallCompletedCallback callback);
113 static void FireCallCompletedCallback(Isolate* isolate); 113 static void FireCallCompletedCallback(Isolate* isolate);
114 114
115 private: 115 private:
116 static void InitializeOncePerProcess(); 116 static void InitializeOncePerProcess();
117 117
118 // True if engine is currently running 118 // True if engine is currently running
119 static bool is_running_; 119 static bool is_running_;
120 // True if V8 has ever been run 120 // True if V8 has ever been run
121 static bool has_been_setup_; 121 static bool has_been_set_up_;
122 // True if error has been signaled for current engine 122 // True if error has been signaled for current engine
123 // (reset to false if engine is restarted) 123 // (reset to false if engine is restarted)
124 static bool has_fatal_error_; 124 static bool has_fatal_error_;
125 // True if engine has been shut down 125 // True if engine has been shut down
126 // (reset if engine is restarted) 126 // (reset if engine is restarted)
127 static bool has_been_disposed_; 127 static bool has_been_disposed_;
128 // True if we are using the crankshaft optimizing compiler. 128 // True if we are using the crankshaft optimizing compiler.
129 static bool use_crankshaft_; 129 static bool use_crankshaft_;
130 // List of callbacks when a Call completes. 130 // List of callbacks when a Call completes.
131 static List<CallCompletedCallback>* call_completed_callbacks_; 131 static List<CallCompletedCallback>* call_completed_callbacks_;
132 }; 132 };
133 133
134 134
135 // JavaScript defines two kinds of 'nil'. 135 // JavaScript defines two kinds of 'nil'.
136 enum NilValue { kNullValue, kUndefinedValue }; 136 enum NilValue { kNullValue, kUndefinedValue };
137 137
138 138
139 // JavaScript defines two kinds of equality. 139 // JavaScript defines two kinds of equality.
140 enum EqualityKind { kStrictEquality, kNonStrictEquality }; 140 enum EqualityKind { kStrictEquality, kNonStrictEquality };
141 141
142 142
143 } } // namespace v8::internal 143 } } // namespace v8::internal
144 144
145 namespace i = v8::internal; 145 namespace i = v8::internal;
146 146
147 #endif // V8_V8_H_ 147 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/utils.h ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698