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

Side by Side Diff: src/bootstrapper.h

Issue 1113009: Merge 4205:4215 from bleeding_edge to partial_snapshots branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 9 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/ast.cc ('k') | src/bootstrapper.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 Handle<Object> global_object, 64 Handle<Object> global_object,
65 v8::Handle<v8::ObjectTemplate> global_template, 65 v8::Handle<v8::ObjectTemplate> global_template,
66 v8::ExtensionConfiguration* extensions); 66 v8::ExtensionConfiguration* extensions);
67 67
68 // Detach the environment from its outer global object. 68 // Detach the environment from its outer global object.
69 static void DetachGlobal(Handle<Context> env); 69 static void DetachGlobal(Handle<Context> env);
70 70
71 // Traverses the pointers for memory management. 71 // Traverses the pointers for memory management.
72 static void Iterate(ObjectVisitor* v); 72 static void Iterate(ObjectVisitor* v);
73 73
74 // Accessors for the native scripts cache. Used in lazy loading. 74 // Accessor for the native scripts source code.
75 static Handle<String> NativesSourceLookup(int index); 75 static Handle<String> NativesSourceLookup(int index);
76 76
77 // Tells whether bootstrapping is active. 77 // Tells whether bootstrapping is active.
78 static bool IsActive() { return BootstrapperActive::IsActive(); } 78 static bool IsActive() { return BootstrapperActive::IsActive(); }
79 79
80 // Encoding/decoding support for fixup flags. 80 // Encoding/decoding support for fixup flags.
81 class FixupFlagsUseCodeObject: public BitField<bool, 0, 1> {}; 81 class FixupFlagsUseCodeObject: public BitField<bool, 0, 1> {};
82 class FixupFlagsArgumentsCount: public BitField<uint32_t, 1, 32-1> {}; 82 class FixupFlagsArgumentsCount: public BitField<uint32_t, 1, 32-1> {};
83 83
84 // Support for thread preemption. 84 // Support for thread preemption.
(...skipping 25 matching lines...) Expand all
110 return length_; 110 return length_;
111 } 111 }
112 private: 112 private:
113 const char* data_; 113 const char* data_;
114 size_t length_; 114 size_t length_;
115 }; 115 };
116 116
117 }} // namespace v8::internal 117 }} // namespace v8::internal
118 118
119 #endif // V8_BOOTSTRAPPER_H_ 119 #endif // V8_BOOTSTRAPPER_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698