OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 618 matching lines...) Loading... |
629 | 629 |
630 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( | 630 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( |
631 Isolate* isolate, | 631 Isolate* isolate, |
632 Handle<JSObject> object, | 632 Handle<JSObject> object, |
633 Handle<Object> key, | 633 Handle<Object> key, |
634 Handle<Object> value, | 634 Handle<Object> value, |
635 PropertyAttributes attr); | 635 PropertyAttributes attr); |
636 | 636 |
637 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( | 637 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( |
638 Isolate* isolate, | 638 Isolate* isolate, |
639 Handle<JSObject> object, | 639 Handle<JSReceiver> object, |
640 Handle<Object> key); | 640 Handle<Object> key); |
641 | 641 |
642 MUST_USE_RESULT static MaybeObject* GetObjectProperty( | 642 MUST_USE_RESULT static MaybeObject* GetObjectProperty( |
643 Isolate* isolate, | 643 Isolate* isolate, |
644 Handle<Object> object, | 644 Handle<Object> object, |
645 Handle<Object> key); | 645 Handle<Object> key); |
646 | 646 |
647 // This function is used in FunctionNameUsing* tests. | 647 // This function is used in FunctionNameUsing* tests. |
648 static Object* FindSharedFunctionInfoInScript(Isolate* isolate, | 648 static Object* FindSharedFunctionInfoInScript(Isolate* isolate, |
649 Handle<Script> script, | 649 Handle<Script> script, |
650 int position); | 650 int position); |
651 | 651 |
652 // Helper functions used stubs. | 652 // Helper functions used stubs. |
653 static void PerformGC(Object* result); | 653 static void PerformGC(Object* result); |
654 }; | 654 }; |
655 | 655 |
656 } } // namespace v8::internal | 656 } } // namespace v8::internal |
657 | 657 |
658 #endif // V8_RUNTIME_H_ | 658 #endif // V8_RUNTIME_H_ |
OLD | NEW |