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

Side by Side Diff: src/handles.h

Issue 6711027: [Isolates] Merge 7201:7258 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 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
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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 int estimate); 327 int estimate);
328 328
329 329
330 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( 330 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy(
331 Handle<JSFunction> constructor, 331 Handle<JSFunction> constructor,
332 Handle<JSGlobalProxy> global); 332 Handle<JSGlobalProxy> global);
333 333
334 Handle<Object> SetPrototype(Handle<JSFunction> function, 334 Handle<Object> SetPrototype(Handle<JSFunction> function,
335 Handle<Object> prototype); 335 Handle<Object> prototype);
336 336
337 Handle<Object> PreventExtensions(Handle<JSObject> object);
337 338
338 // Does lazy compilation of the given function. Returns true on success and 339 // Does lazy compilation of the given function. Returns true on success and
339 // false if the compilation resulted in a stack overflow. 340 // false if the compilation resulted in a stack overflow.
340 enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION }; 341 enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION };
341 342
342 bool EnsureCompiled(Handle<SharedFunctionInfo> shared, 343 bool EnsureCompiled(Handle<SharedFunctionInfo> shared,
343 ClearExceptionFlag flag); 344 ClearExceptionFlag flag);
344 345
345 bool CompileLazyShared(Handle<SharedFunctionInfo> shared, 346 bool CompileLazyShared(Handle<SharedFunctionInfo> shared,
346 ClearExceptionFlag flag); 347 ClearExceptionFlag flag);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 private: 382 private:
382 bool has_been_transformed_; // Tells whether the object has been transformed. 383 bool has_been_transformed_; // Tells whether the object has been transformed.
383 int unused_property_fields_; // Captures the unused number of field. 384 int unused_property_fields_; // Captures the unused number of field.
384 Handle<JSObject> object_; // The object being optimized. 385 Handle<JSObject> object_; // The object being optimized.
385 }; 386 };
386 387
387 388
388 } } // namespace v8::internal 389 } } // namespace v8::internal
389 390
390 #endif // V8_HANDLES_H_ 391 #endif // V8_HANDLES_H_
OLDNEW
« src/global-handles.cc ('K') | « src/global-handles.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698