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

Side by Side Diff: src/handles.h

Issue 6696018: Revert "Strict mode ThrowTypeError functions for" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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
« no previous file with comments | « src/factory.cc ('k') | src/handles.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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 int estimate); 363 int estimate);
364 364
365 365
366 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( 366 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy(
367 Handle<JSFunction> constructor, 367 Handle<JSFunction> constructor,
368 Handle<JSGlobalProxy> global); 368 Handle<JSGlobalProxy> global);
369 369
370 Handle<Object> SetPrototype(Handle<JSFunction> function, 370 Handle<Object> SetPrototype(Handle<JSFunction> function,
371 Handle<Object> prototype); 371 Handle<Object> prototype);
372 372
373 Handle<Object> PreventExtensions(Handle<JSObject> object);
374 373
375 // Does lazy compilation of the given function. Returns true on success and 374 // Does lazy compilation of the given function. Returns true on success and
376 // false if the compilation resulted in a stack overflow. 375 // false if the compilation resulted in a stack overflow.
377 enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION }; 376 enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION };
378 377
379 bool EnsureCompiled(Handle<SharedFunctionInfo> shared, 378 bool EnsureCompiled(Handle<SharedFunctionInfo> shared,
380 ClearExceptionFlag flag); 379 ClearExceptionFlag flag);
381 380
382 bool CompileLazyShared(Handle<SharedFunctionInfo> shared, 381 bool CompileLazyShared(Handle<SharedFunctionInfo> shared,
383 ClearExceptionFlag flag); 382 ClearExceptionFlag flag);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 private: 417 private:
419 bool has_been_transformed_; // Tells whether the object has been transformed. 418 bool has_been_transformed_; // Tells whether the object has been transformed.
420 int unused_property_fields_; // Captures the unused number of field. 419 int unused_property_fields_; // Captures the unused number of field.
421 Handle<JSObject> object_; // The object being optimized. 420 Handle<JSObject> object_; // The object being optimized.
422 }; 421 };
423 422
424 423
425 } } // namespace v8::internal 424 } } // namespace v8::internal
426 425
427 #endif // V8_HANDLES_H_ 426 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698