| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 SourceGroup() : | 120 SourceGroup() : |
| 121 #ifndef V8_SHARED | 121 #ifndef V8_SHARED |
| 122 next_semaphore_(v8::internal::OS::CreateSemaphore(0)), | 122 next_semaphore_(v8::internal::OS::CreateSemaphore(0)), |
| 123 done_semaphore_(v8::internal::OS::CreateSemaphore(0)), | 123 done_semaphore_(v8::internal::OS::CreateSemaphore(0)), |
| 124 thread_(NULL), | 124 thread_(NULL), |
| 125 #endif // V8_SHARED | 125 #endif // V8_SHARED |
| 126 argv_(NULL), | 126 argv_(NULL), |
| 127 begin_offset_(0), | 127 begin_offset_(0), |
| 128 end_offset_(0) {} | 128 end_offset_(0) {} |
| 129 | 129 |
| 130 #ifndef V8_SHARED |
| 130 ~SourceGroup(); | 131 ~SourceGroup(); |
| 132 #endif |
| 131 | 133 |
| 132 void Begin(char** argv, int offset) { | 134 void Begin(char** argv, int offset) { |
| 133 argv_ = const_cast<const char**>(argv); | 135 argv_ = const_cast<const char**>(argv); |
| 134 begin_offset_ = offset; | 136 begin_offset_ = offset; |
| 135 } | 137 } |
| 136 | 138 |
| 137 void End(int offset) { end_offset_ = offset; } | 139 void End(int offset) { end_offset_ = offset; } |
| 138 | 140 |
| 139 void Execute(); | 141 void Execute(); |
| 140 | 142 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 LineEditor* next_; | 354 LineEditor* next_; |
| 353 static LineEditor* first_; | 355 static LineEditor* first_; |
| 354 }; | 356 }; |
| 355 #endif // V8_SHARED | 357 #endif // V8_SHARED |
| 356 | 358 |
| 357 | 359 |
| 358 } // namespace v8 | 360 } // namespace v8 |
| 359 | 361 |
| 360 | 362 |
| 361 #endif // V8_D8_H_ | 363 #endif // V8_D8_H_ |
| OLD | NEW |