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

Side by Side Diff: src/isolate.h

Issue 25053002: Fix threading problems in test-api when running on simulator (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed simulator() getter from isolate Created 7 years, 2 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 | « no previous file | src/isolate.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 MaybeObject* scheduled_exception_; 267 MaybeObject* scheduled_exception_;
268 bool external_caught_exception_; 268 bool external_caught_exception_;
269 SaveContext* save_context_; 269 SaveContext* save_context_;
270 v8::TryCatch* catcher_; 270 v8::TryCatch* catcher_;
271 271
272 // Stack. 272 // Stack.
273 Address c_entry_fp_; // the frame pointer of the top c entry frame 273 Address c_entry_fp_; // the frame pointer of the top c entry frame
274 Address handler_; // try-blocks are chained through the stack 274 Address handler_; // try-blocks are chained through the stack
275 275
276 #ifdef USE_SIMULATOR 276 #ifdef USE_SIMULATOR
277 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
278 Simulator* simulator_; 277 Simulator* simulator_;
279 #endif 278 #endif
280 #endif // USE_SIMULATOR
281 279
282 Address js_entry_sp_; // the stack pointer of the bottom JS entry frame 280 Address js_entry_sp_; // the stack pointer of the bottom JS entry frame
283 // the external callback we're currently in 281 // the external callback we're currently in
284 ExternalCallbackScope* external_callback_scope_; 282 ExternalCallbackScope* external_callback_scope_;
285 StateTag current_vm_state_; 283 StateTag current_vm_state_;
286 284
287 // Generated code scratch locations. 285 // Generated code scratch locations.
288 int32_t formal_count_; 286 int32_t formal_count_;
289 287
290 // Call back function to report unsafe JS accesses. 288 // Call back function to report unsafe JS accesses.
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 1522
1525 // Mark the native context with out of memory. 1523 // Mark the native context with out of memory.
1526 inline void Context::mark_out_of_memory() { 1524 inline void Context::mark_out_of_memory() {
1527 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); 1525 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value());
1528 } 1526 }
1529 1527
1530 1528
1531 } } // namespace v8::internal 1529 } } // namespace v8::internal
1532 1530
1533 #endif // V8_ISOLATE_H_ 1531 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698