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

Side by Side Diff: src/v8.h

Issue 9836108: Rollback of r11015, r11014, r11011, r11010 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Finish file upload Created 8 years, 9 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/runtime-profiler.cc ('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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 Context* context); 109 Context* context);
110 110
111 // Idle notification directly from the API. 111 // Idle notification directly from the API.
112 static bool IdleNotification(int hint); 112 static bool IdleNotification(int hint);
113 113
114 static void AddCallCompletedCallback(CallCompletedCallback callback); 114 static void AddCallCompletedCallback(CallCompletedCallback callback);
115 static void RemoveCallCompletedCallback(CallCompletedCallback callback); 115 static void RemoveCallCompletedCallback(CallCompletedCallback callback);
116 static void FireCallCompletedCallback(Isolate* isolate); 116 static void FireCallCompletedCallback(Isolate* isolate);
117 117
118 private: 118 private:
119 static void InitializeOncePerProcessImpl();
120 static void InitializeOncePerProcess(); 119 static void InitializeOncePerProcess();
121 120
122 // True if engine is currently running 121 // True if engine is currently running
123 static bool is_running_; 122 static bool is_running_;
124 // True if V8 has ever been run 123 // True if V8 has ever been run
125 static bool has_been_set_up_; 124 static bool has_been_set_up_;
126 // True if error has been signaled for current engine 125 // True if error has been signaled for current engine
127 // (reset to false if engine is restarted) 126 // (reset to false if engine is restarted)
128 static bool has_fatal_error_; 127 static bool has_fatal_error_;
129 // True if engine has been shut down 128 // True if engine has been shut down
(...skipping 12 matching lines...) Expand all
142 141
143 // JavaScript defines two kinds of equality. 142 // JavaScript defines two kinds of equality.
144 enum EqualityKind { kStrictEquality, kNonStrictEquality }; 143 enum EqualityKind { kStrictEquality, kNonStrictEquality };
145 144
146 145
147 } } // namespace v8::internal 146 } } // namespace v8::internal
148 147
149 namespace i = v8::internal; 148 namespace i = v8::internal;
150 149
151 #endif // V8_V8_H_ 150 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698