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

Side by Side Diff: src/api.h

Issue 139393002: Removed apiutils.h and related cleanup. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Dummy for fixing codereview issues Created 6 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 | « include/v8.h ('k') | src/api.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 13 matching lines...) Expand all
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #ifndef V8_API_H_ 28 #ifndef V8_API_H_
29 #define V8_API_H_ 29 #define V8_API_H_
30 30
31 #include "v8.h" 31 #include "v8.h"
32 32
33 #include "../include/v8-testing.h" 33 #include "../include/v8-testing.h"
34 #include "apiutils.h"
35 #include "contexts.h" 34 #include "contexts.h"
36 #include "factory.h" 35 #include "factory.h"
37 #include "isolate.h" 36 #include "isolate.h"
38 #include "list-inl.h" 37 #include "list-inl.h"
39 38
40 namespace v8 { 39 namespace v8 {
41 40
42 // Constants used in the implementation of the API. The most natural thing 41 // Constants used in the implementation of the API. The most natural thing
43 // would usually be to place these with the classes that use them, but 42 // would usually be to place these with the classes that use them, but
44 // we want to keep them out of v8.h because it is an externally 43 // we want to keep them out of v8.h because it is an externally
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 Isolate* isolate_; 600 Isolate* isolate_;
602 List<internal::Object**> blocks_; 601 List<internal::Object**> blocks_;
603 // Used as a stack to keep track of entered contexts. 602 // Used as a stack to keep track of entered contexts.
604 List<Context*> entered_contexts_; 603 List<Context*> entered_contexts_;
605 // Used as a stack to keep track of saved contexts. 604 // Used as a stack to keep track of saved contexts.
606 List<Context*> saved_contexts_; 605 List<Context*> saved_contexts_;
607 Object** spare_; 606 Object** spare_;
608 int call_depth_; 607 int call_depth_;
609 Object** last_handle_before_deferred_block_; 608 Object** last_handle_before_deferred_block_;
610 // This is only used for threading support. 609 // This is only used for threading support.
611 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; 610 HandleScopeData handle_scope_data_;
612 611
613 void IterateThis(ObjectVisitor* v); 612 void IterateThis(ObjectVisitor* v);
614 char* RestoreThreadHelper(char* from); 613 char* RestoreThreadHelper(char* from);
615 char* ArchiveThreadHelper(char* to); 614 char* ArchiveThreadHelper(char* to);
616 615
617 friend class DeferredHandles; 616 friend class DeferredHandles;
618 friend class DeferredHandleScope; 617 friend class DeferredHandleScope;
619 618
620 DISALLOW_COPY_AND_ASSIGN(HandleScopeImplementer); 619 DISALLOW_COPY_AND_ASSIGN(HandleScopeImplementer);
621 }; 620 };
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 stress_type_ = stress_type; 716 stress_type_ = stress_type;
718 } 717 }
719 718
720 private: 719 private:
721 static v8::Testing::StressType stress_type_; 720 static v8::Testing::StressType stress_type_;
722 }; 721 };
723 722
724 } } // namespace v8::internal 723 } } // namespace v8::internal
725 724
726 #endif // V8_API_H_ 725 #endif // V8_API_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698