| 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 Handle<Object> key); | 708 Handle<Object> key); |
| 709 | 709 |
| 710 // Helper functions used stubs. | 710 // Helper functions used stubs. |
| 711 static void PerformGC(Object* result); | 711 static void PerformGC(Object* result); |
| 712 | 712 |
| 713 // Used in runtime.cc and hydrogen's VisitArrayLiteral. | 713 // Used in runtime.cc and hydrogen's VisitArrayLiteral. |
| 714 static Handle<Object> CreateArrayLiteralBoilerplate( | 714 static Handle<Object> CreateArrayLiteralBoilerplate( |
| 715 Isolate* isolate, | 715 Isolate* isolate, |
| 716 Handle<FixedArray> literals, | 716 Handle<FixedArray> literals, |
| 717 Handle<FixedArray> elements); | 717 Handle<FixedArray> elements); |
| 718 |
| 719 // Used in codegen when a copy of the full codegen boilerplate object is |
| 720 // made for pre-transitioned efficiency. |
| 721 static Handle<JSObject> DeepCopyBoilerplate(Isolate* isolate, |
| 722 Handle<JSObject> boilerplate); |
| 718 }; | 723 }; |
| 719 | 724 |
| 720 | 725 |
| 721 //--------------------------------------------------------------------------- | 726 //--------------------------------------------------------------------------- |
| 722 // Constants used by interface to runtime functions. | 727 // Constants used by interface to runtime functions. |
| 723 | 728 |
| 724 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 729 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 725 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 730 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 726 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 731 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 727 | 732 |
| 728 } } // namespace v8::internal | 733 } } // namespace v8::internal |
| 729 | 734 |
| 730 #endif // V8_RUNTIME_H_ | 735 #endif // V8_RUNTIME_H_ |
| OLD | NEW |