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

Side by Side Diff: src/runtime.h

Issue 14251014: Handle retry-after-gc failures within KeyedLoadIC::Load and KeyedStoreIC::Store. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rename functions Created 7 years, 8 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/ic.cc ('k') | src/runtime.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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 uint32_t index); 685 uint32_t index);
686 686
687 MUST_USE_RESULT static MaybeObject* SetObjectProperty( 687 MUST_USE_RESULT static MaybeObject* SetObjectProperty(
688 Isolate* isolate, 688 Isolate* isolate,
689 Handle<Object> object, 689 Handle<Object> object,
690 Handle<Object> key, 690 Handle<Object> key,
691 Handle<Object> value, 691 Handle<Object> value,
692 PropertyAttributes attr, 692 PropertyAttributes attr,
693 StrictModeFlag strict_mode); 693 StrictModeFlag strict_mode);
694 694
695 MUST_USE_RESULT static MaybeObject* SetObjectPropertyOrFail(
696 Isolate* isolate,
697 Handle<Object> object,
698 Handle<Object> key,
699 Handle<Object> value,
700 PropertyAttributes attr,
701 StrictModeFlag strict_mode);
702
695 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( 703 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty(
696 Isolate* isolate, 704 Isolate* isolate,
697 Handle<JSObject> object, 705 Handle<JSObject> object,
698 Handle<Object> key, 706 Handle<Object> key,
699 Handle<Object> value, 707 Handle<Object> value,
700 PropertyAttributes attr); 708 PropertyAttributes attr);
701 709
702 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty( 710 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty(
703 Isolate* isolate, 711 Isolate* isolate,
704 Handle<JSReceiver> object, 712 Handle<JSReceiver> object,
705 Handle<Object> key, 713 Handle<Object> key,
706 JSReceiver::DeleteMode mode); 714 JSReceiver::DeleteMode mode);
707 715
708 MUST_USE_RESULT static MaybeObject* HasObjectProperty( 716 MUST_USE_RESULT static MaybeObject* HasObjectProperty(
709 Isolate* isolate, 717 Isolate* isolate,
710 Handle<JSReceiver> object, 718 Handle<JSReceiver> object,
711 Handle<Object> key); 719 Handle<Object> key);
712 720
713 MUST_USE_RESULT static MaybeObject* GetObjectProperty( 721 MUST_USE_RESULT static MaybeObject* GetObjectProperty(
714 Isolate* isolate, 722 Isolate* isolate,
715 Handle<Object> object, 723 Handle<Object> object,
716 Handle<Object> key); 724 Handle<Object> key);
717 725
726 MUST_USE_RESULT static MaybeObject* GetObjectPropertyOrFail(
727 Isolate* isolate,
728 Handle<Object> object,
729 Handle<Object> key);
730
718 // Helper functions used stubs. 731 // Helper functions used stubs.
719 static void PerformGC(Object* result); 732 static void PerformGC(Object* result);
720 733
721 // Used in runtime.cc and hydrogen's VisitArrayLiteral. 734 // Used in runtime.cc and hydrogen's VisitArrayLiteral.
722 static Handle<Object> CreateArrayLiteralBoilerplate( 735 static Handle<Object> CreateArrayLiteralBoilerplate(
723 Isolate* isolate, 736 Isolate* isolate,
724 Handle<FixedArray> literals, 737 Handle<FixedArray> literals,
725 Handle<FixedArray> elements); 738 Handle<FixedArray> elements);
726 }; 739 };
727 740
728 741
729 //--------------------------------------------------------------------------- 742 //---------------------------------------------------------------------------
730 // Constants used by interface to runtime functions. 743 // Constants used by interface to runtime functions.
731 744
732 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 745 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
733 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 746 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
734 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 747 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
735 748
736 } } // namespace v8::internal 749 } } // namespace v8::internal
737 750
738 #endif // V8_RUNTIME_H_ 751 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698