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

Side by Side Diff: src/compiler.h

Issue 23014007: Rename "parallel recompilation" to "concurrent recompilation". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/builtins.h ('k') | src/compiler.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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 Handle<Context> context, 594 Handle<Context> context,
595 bool is_global, 595 bool is_global,
596 LanguageMode language_mode, 596 LanguageMode language_mode,
597 ParseRestriction restriction, 597 ParseRestriction restriction,
598 int scope_position); 598 int scope_position);
599 599
600 // Compile from function info (used for lazy compilation). Returns true on 600 // Compile from function info (used for lazy compilation). Returns true on
601 // success and false if the compilation resulted in a stack overflow. 601 // success and false if the compilation resulted in a stack overflow.
602 static bool CompileLazy(CompilationInfo* info); 602 static bool CompileLazy(CompilationInfo* info);
603 603
604 static void RecompileParallel(Handle<JSFunction> function); 604 static void RecompileConcurrent(Handle<JSFunction> function);
605 605
606 // Compile a shared function info object (the function is possibly lazily 606 // Compile a shared function info object (the function is possibly lazily
607 // compiled). 607 // compiled).
608 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node, 608 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node,
609 Handle<Script> script); 609 Handle<Script> script);
610 610
611 // Set the function info for a newly compiled function. 611 // Set the function info for a newly compiled function.
612 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info, 612 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info,
613 FunctionLiteral* lit, 613 FunctionLiteral* lit,
614 bool is_toplevel, 614 bool is_toplevel,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 unsigned info_zone_start_allocation_size_; 646 unsigned info_zone_start_allocation_size_;
647 int64_t start_ticks_; 647 int64_t start_ticks_;
648 648
649 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 649 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
650 }; 650 };
651 651
652 652
653 } } // namespace v8::internal 653 } } // namespace v8::internal
654 654
655 #endif // V8_COMPILER_H_ 655 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698