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

Side by Side Diff: src/api.h

Issue 669240: - Remove function boilerplate objects and use SharedFunctionInfos in... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Committed 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 | « no previous file | 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 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 static inline v8::internal::Handle<v8::internal::ObjectTemplateInfo> 214 static inline v8::internal::Handle<v8::internal::ObjectTemplateInfo>
215 OpenHandle(const ObjectTemplate* that); 215 OpenHandle(const ObjectTemplate* that);
216 static inline v8::internal::Handle<v8::internal::Object> 216 static inline v8::internal::Handle<v8::internal::Object>
217 OpenHandle(const Data* data); 217 OpenHandle(const Data* data);
218 static inline v8::internal::Handle<v8::internal::JSObject> 218 static inline v8::internal::Handle<v8::internal::JSObject>
219 OpenHandle(const v8::Object* data); 219 OpenHandle(const v8::Object* data);
220 static inline v8::internal::Handle<v8::internal::JSArray> 220 static inline v8::internal::Handle<v8::internal::JSArray>
221 OpenHandle(const v8::Array* data); 221 OpenHandle(const v8::Array* data);
222 static inline v8::internal::Handle<v8::internal::String> 222 static inline v8::internal::Handle<v8::internal::String>
223 OpenHandle(const String* data); 223 OpenHandle(const String* data);
224 static inline v8::internal::Handle<v8::internal::JSFunction> 224 static inline v8::internal::Handle<v8::internal::Object>
225 OpenHandle(const Script* data); 225 OpenHandle(const Script* data);
226 static inline v8::internal::Handle<v8::internal::JSFunction> 226 static inline v8::internal::Handle<v8::internal::JSFunction>
227 OpenHandle(const Function* data); 227 OpenHandle(const Function* data);
228 static inline v8::internal::Handle<v8::internal::JSObject> 228 static inline v8::internal::Handle<v8::internal::JSObject>
229 OpenHandle(const Message* message); 229 OpenHandle(const Message* message);
230 static inline v8::internal::Handle<v8::internal::Context> 230 static inline v8::internal::Handle<v8::internal::Context>
231 OpenHandle(const v8::Context* context); 231 OpenHandle(const v8::Context* context);
232 static inline v8::internal::Handle<v8::internal::SignatureInfo> 232 static inline v8::internal::Handle<v8::internal::SignatureInfo>
233 OpenHandle(const v8::Signature* sig); 233 OpenHandle(const v8::Signature* sig);
234 static inline v8::internal::Handle<v8::internal::TypeSwitchInfo> 234 static inline v8::internal::Handle<v8::internal::TypeSwitchInfo>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 MAKE_OPEN_HANDLE(Template, TemplateInfo) 290 MAKE_OPEN_HANDLE(Template, TemplateInfo)
291 MAKE_OPEN_HANDLE(FunctionTemplate, FunctionTemplateInfo) 291 MAKE_OPEN_HANDLE(FunctionTemplate, FunctionTemplateInfo)
292 MAKE_OPEN_HANDLE(ObjectTemplate, ObjectTemplateInfo) 292 MAKE_OPEN_HANDLE(ObjectTemplate, ObjectTemplateInfo)
293 MAKE_OPEN_HANDLE(Signature, SignatureInfo) 293 MAKE_OPEN_HANDLE(Signature, SignatureInfo)
294 MAKE_OPEN_HANDLE(TypeSwitch, TypeSwitchInfo) 294 MAKE_OPEN_HANDLE(TypeSwitch, TypeSwitchInfo)
295 MAKE_OPEN_HANDLE(Data, Object) 295 MAKE_OPEN_HANDLE(Data, Object)
296 MAKE_OPEN_HANDLE(Object, JSObject) 296 MAKE_OPEN_HANDLE(Object, JSObject)
297 MAKE_OPEN_HANDLE(Array, JSArray) 297 MAKE_OPEN_HANDLE(Array, JSArray)
298 MAKE_OPEN_HANDLE(String, String) 298 MAKE_OPEN_HANDLE(String, String)
299 MAKE_OPEN_HANDLE(Script, JSFunction) 299 MAKE_OPEN_HANDLE(Script, Object)
300 MAKE_OPEN_HANDLE(Function, JSFunction) 300 MAKE_OPEN_HANDLE(Function, JSFunction)
301 MAKE_OPEN_HANDLE(Message, JSObject) 301 MAKE_OPEN_HANDLE(Message, JSObject)
302 MAKE_OPEN_HANDLE(Context, Context) 302 MAKE_OPEN_HANDLE(Context, Context)
303 MAKE_OPEN_HANDLE(External, Proxy) 303 MAKE_OPEN_HANDLE(External, Proxy)
304 304
305 #undef MAKE_OPEN_HANDLE 305 #undef MAKE_OPEN_HANDLE
306 306
307 307
308 namespace internal { 308 namespace internal {
309 309
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 #ifdef DEBUG 470 #ifdef DEBUG
471 v8::ImplementationUtilities::ZapHandleRange( 471 v8::ImplementationUtilities::ZapHandleRange(
472 spare_, 472 spare_,
473 &spare_[kHandleBlockSize]); 473 &spare_[kHandleBlockSize]);
474 #endif 474 #endif
475 } 475 }
476 476
477 } } // namespace v8::internal 477 } } // namespace v8::internal
478 478
479 #endif // V8_API_H_ 479 #endif // V8_API_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698