OLD | NEW |
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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( | 689 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( |
690 Isolate* isolate, | 690 Isolate* isolate, |
691 Handle<JSReceiver> object, | 691 Handle<JSReceiver> object, |
692 Handle<Object> key); | 692 Handle<Object> key); |
693 | 693 |
694 MUST_USE_RESULT static MaybeObject* GetObjectProperty( | 694 MUST_USE_RESULT static MaybeObject* GetObjectProperty( |
695 Isolate* isolate, | 695 Isolate* isolate, |
696 Handle<Object> object, | 696 Handle<Object> object, |
697 Handle<Object> key); | 697 Handle<Object> key); |
698 | 698 |
699 // This function is used in FunctionNameUsing* tests. | |
700 static Object* FindSharedFunctionInfoInScript(Isolate* isolate, | |
701 Handle<Script> script, | |
702 int position); | |
703 | |
704 // Helper functions used stubs. | 699 // Helper functions used stubs. |
705 static void PerformGC(Object* result); | 700 static void PerformGC(Object* result); |
706 | 701 |
707 // Used in runtime.cc and hydrogen's VisitArrayLiteral. | 702 // Used in runtime.cc and hydrogen's VisitArrayLiteral. |
708 static Handle<Object> CreateArrayLiteralBoilerplate( | 703 static Handle<Object> CreateArrayLiteralBoilerplate( |
709 Isolate* isolate, | 704 Isolate* isolate, |
710 Handle<FixedArray> literals, | 705 Handle<FixedArray> literals, |
711 Handle<FixedArray> elements); | 706 Handle<FixedArray> elements); |
712 }; | 707 }; |
713 | 708 |
714 | 709 |
715 //--------------------------------------------------------------------------- | 710 //--------------------------------------------------------------------------- |
716 // Constants used by interface to runtime functions. | 711 // Constants used by interface to runtime functions. |
717 | 712 |
718 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 713 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
719 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 714 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
720 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 715 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
721 | 716 |
722 } } // namespace v8::internal | 717 } } // namespace v8::internal |
723 | 718 |
724 #endif // V8_RUNTIME_H_ | 719 #endif // V8_RUNTIME_H_ |
OLD | NEW |