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

Side by Side Diff: src/runtime.h

Issue 10417010: Run Crankshaft on a separate thread. (Closed) Base URL: https://chromiumcodereview.appspot.com/10387157
Patch Set: Set optimize_in_parallel to false by default. Created 8 years, 7 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
« no previous file with comments | « src/optimizing-compiler-thread.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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « src/optimizing-compiler-thread.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698