| 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 int position); | 689 int position); |
| 690 | 690 |
| 691 // Helper functions used stubs. | 691 // Helper functions used stubs. |
| 692 static void PerformGC(Object* result); | 692 static void PerformGC(Object* result); |
| 693 | 693 |
| 694 // Used in runtime.cc and hydrogen's VisitArrayLiteral. | 694 // Used in runtime.cc and hydrogen's VisitArrayLiteral. |
| 695 static Handle<Object> CreateArrayLiteralBoilerplate( | 695 static Handle<Object> CreateArrayLiteralBoilerplate( |
| 696 Isolate* isolate, | 696 Isolate* isolate, |
| 697 Handle<FixedArray> literals, | 697 Handle<FixedArray> literals, |
| 698 Handle<FixedArray> elements); | 698 Handle<FixedArray> elements); |
| 699 |
| 700 MUST_USE_RESULT static MaybeObject* CompileJSFunction( |
| 701 Isolate* isolate, |
| 702 Handle<JSFunction> function); |
| 699 }; | 703 }; |
| 700 | 704 |
| 701 | 705 |
| 702 //--------------------------------------------------------------------------- | 706 //--------------------------------------------------------------------------- |
| 703 // Constants used by interface to runtime functions. | 707 // Constants used by interface to runtime functions. |
| 704 | 708 |
| 705 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 709 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 706 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 710 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 707 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 711 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 708 | 712 |
| 709 } } // namespace v8::internal | 713 } } // namespace v8::internal |
| 710 | 714 |
| 711 #endif // V8_RUNTIME_H_ | 715 #endif // V8_RUNTIME_H_ |
| OLD | NEW |