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

Side by Side Diff: src/isolate.h

Issue 9231009: More spelling changes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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/ia32/stub-cache-ia32.cc ('k') | 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Stack. 251 // Stack.
252 Address c_entry_fp_; // the frame pointer of the top c entry frame 252 Address c_entry_fp_; // the frame pointer of the top c entry frame
253 Address handler_; // try-blocks are chained through the stack 253 Address handler_; // try-blocks are chained through the stack
254 254
255 #ifdef USE_SIMULATOR 255 #ifdef USE_SIMULATOR
256 #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) 256 #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS)
257 Simulator* simulator_; 257 Simulator* simulator_;
258 #endif 258 #endif
259 #endif // USE_SIMULATOR 259 #endif // USE_SIMULATOR
260 260
261 Address js_entry_sp_; // the stack pointer of the bottom js entry frame 261 Address js_entry_sp_; // the stack pointer of the bottom JS entry frame
262 Address external_callback_; // the external callback we're currently in 262 Address external_callback_; // the external callback we're currently in
263 StateTag current_vm_state_; 263 StateTag current_vm_state_;
264 264
265 // Generated code scratch locations. 265 // Generated code scratch locations.
266 int32_t formal_count_; 266 int32_t formal_count_;
267 267
268 // Call back function to report unsafe JS accesses. 268 // Call back function to report unsafe JS accesses.
269 v8::FailedAccessCheckCallback failed_access_check_callback_; 269 v8::FailedAccessCheckCallback failed_access_check_callback_;
270 270
271 // Head of the list of live LookupResults. 271 // Head of the list of live LookupResults.
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 bool IsInUse() { return entry_stack_ != NULL; } 478 bool IsInUse() { return entry_stack_ != NULL; }
479 479
480 // Destroys the non-default isolates. 480 // Destroys the non-default isolates.
481 // Sets default isolate into "has_been_disposed" state rather then destroying, 481 // Sets default isolate into "has_been_disposed" state rather then destroying,
482 // for legacy API reasons. 482 // for legacy API reasons.
483 void TearDown(); 483 void TearDown();
484 484
485 bool IsDefaultIsolate() const { return this == default_isolate_; } 485 bool IsDefaultIsolate() const { return this == default_isolate_; }
486 486
487 // Ensures that process-wide resources and the default isolate have been 487 // Ensures that process-wide resources and the default isolate have been
488 // allocated. It is only necessary to call this method in rare casses, for 488 // allocated. It is only necessary to call this method in rare cases, for
489 // example if you are using V8 from within the body of a static initializer. 489 // example if you are using V8 from within the body of a static initializer.
490 // Safe to call multiple times. 490 // Safe to call multiple times.
491 static void EnsureDefaultIsolate(); 491 static void EnsureDefaultIsolate();
492 492
493 // Find the PerThread for this particular (isolate, thread) combination 493 // Find the PerThread for this particular (isolate, thread) combination
494 // If one does not yet exist, return null. 494 // If one does not yet exist, return null.
495 PerIsolateThreadData* FindPerThreadDataForThisThread(); 495 PerIsolateThreadData* FindPerThreadDataForThisThread();
496 496
497 #ifdef ENABLE_DEBUGGER_SUPPORT 497 #ifdef ENABLE_DEBUGGER_SUPPORT
498 // Get the debugger from the default isolate. Preinitializes the 498 // Get the debugger from the default isolate. Preinitializes the
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 return thread->js_entry_sp_; 628 return thread->js_entry_sp_;
629 } 629 }
630 inline Address* js_entry_sp_address() { 630 inline Address* js_entry_sp_address() {
631 return &thread_local_top_.js_entry_sp_; 631 return &thread_local_top_.js_entry_sp_;
632 } 632 }
633 633
634 // Generated code scratch locations. 634 // Generated code scratch locations.
635 void* formal_count_address() { return &thread_local_top_.formal_count_; } 635 void* formal_count_address() { return &thread_local_top_.formal_count_; }
636 636
637 // Returns the global object of the current context. It could be 637 // Returns the global object of the current context. It could be
638 // a builtin object, or a js global object. 638 // a builtin object, or a JS global object.
639 Handle<GlobalObject> global() { 639 Handle<GlobalObject> global() {
640 return Handle<GlobalObject>(context()->global()); 640 return Handle<GlobalObject>(context()->global());
641 } 641 }
642 642
643 // Returns the global proxy object of the current context. 643 // Returns the global proxy object of the current context.
644 Object* global_proxy() { 644 Object* global_proxy() {
645 return context()->global_proxy(); 645 return context()->global_proxy();
646 } 646 }
647 647
648 Handle<JSBuiltinsObject> js_builtins_object() { 648 Handle<JSBuiltinsObject> js_builtins_object() {
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 1379
1380 // Mark the global context with out of memory. 1380 // Mark the global context with out of memory.
1381 inline void Context::mark_out_of_memory() { 1381 inline void Context::mark_out_of_memory() {
1382 global_context()->set_out_of_memory(HEAP->true_value()); 1382 global_context()->set_out_of_memory(HEAP->true_value());
1383 } 1383 }
1384 1384
1385 1385
1386 } } // namespace v8::internal 1386 } } // namespace v8::internal
1387 1387
1388 #endif // V8_ISOLATE_H_ 1388 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698