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

Side by Side Diff: src/isolate.h

Issue 14208012: Move StackTracer to sampler.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 8 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/frames.h ('k') | src/log.h » ('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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 static Address c_entry_fp(ThreadLocalTop* thread) { 642 static Address c_entry_fp(ThreadLocalTop* thread) {
643 return thread->c_entry_fp_; 643 return thread->c_entry_fp_;
644 } 644 }
645 static Address handler(ThreadLocalTop* thread) { return thread->handler_; } 645 static Address handler(ThreadLocalTop* thread) { return thread->handler_; }
646 646
647 inline Address* c_entry_fp_address() { 647 inline Address* c_entry_fp_address() {
648 return &thread_local_top_.c_entry_fp_; 648 return &thread_local_top_.c_entry_fp_;
649 } 649 }
650 inline Address* handler_address() { return &thread_local_top_.handler_; } 650 inline Address* handler_address() { return &thread_local_top_.handler_; }
651 651
652 // Bottom JS entry (see StackTracer::Trace in log.cc). 652 // Bottom JS entry (see StackTracer::Trace in sampler.cc).
653 static Address js_entry_sp(ThreadLocalTop* thread) { 653 static Address js_entry_sp(ThreadLocalTop* thread) {
654 return thread->js_entry_sp_; 654 return thread->js_entry_sp_;
655 } 655 }
656 inline Address* js_entry_sp_address() { 656 inline Address* js_entry_sp_address() {
657 return &thread_local_top_.js_entry_sp_; 657 return &thread_local_top_.js_entry_sp_;
658 } 658 }
659 659
660 // Generated code scratch locations. 660 // Generated code scratch locations.
661 void* formal_count_address() { return &thread_local_top_.formal_count_; } 661 void* formal_count_address() { return &thread_local_top_.formal_count_; }
662 662
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 1477
1478 // Mark the native context with out of memory. 1478 // Mark the native context with out of memory.
1479 inline void Context::mark_out_of_memory() { 1479 inline void Context::mark_out_of_memory() {
1480 native_context()->set_out_of_memory(HEAP->true_value()); 1480 native_context()->set_out_of_memory(HEAP->true_value());
1481 } 1481 }
1482 1482
1483 1483
1484 } } // namespace v8::internal 1484 } } // namespace v8::internal
1485 1485
1486 #endif // V8_ISOLATE_H_ 1486 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/frames.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698