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

Side by Side Diff: src/compiler.h

Issue 23769007: Fix concurrent osr. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « no previous file | src/compiler.cc » ('j') | src/compiler.cc » ('J')
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 // compiled). 618 // compiled).
619 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node, 619 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node,
620 Handle<Script> script); 620 Handle<Script> script);
621 621
622 // Set the function info for a newly compiled function. 622 // Set the function info for a newly compiled function.
623 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info, 623 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info,
624 FunctionLiteral* lit, 624 FunctionLiteral* lit,
625 bool is_toplevel, 625 bool is_toplevel,
626 Handle<Script> script); 626 Handle<Script> script);
627 627
628 static bool InstallOptimizedCode(OptimizingCompiler* info); 628 static Handle<Code> InstallOptimizedCode(OptimizingCompiler* info);
629 629
630 static Handle<Code> CompileForOnStackReplacement(Handle<JSFunction> function); 630 static Handle<Code> CompileForOnStackReplacement(Handle<JSFunction> function);
631 631
632 static Handle<Code> CompileForConcurrentOSR(Handle<JSFunction> function); 632 static Handle<Code> CompileForConcurrentOSR(Handle<JSFunction> function);
633 633
634 #ifdef ENABLE_DEBUGGER_SUPPORT 634 #ifdef ENABLE_DEBUGGER_SUPPORT
635 static bool MakeCodeForLiveEdit(CompilationInfo* info); 635 static bool MakeCodeForLiveEdit(CompilationInfo* info);
636 #endif 636 #endif
637 637
638 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag, 638 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag,
(...skipping 22 matching lines...) Expand all
661 unsigned info_zone_start_allocation_size_; 661 unsigned info_zone_start_allocation_size_;
662 ElapsedTimer timer_; 662 ElapsedTimer timer_;
663 663
664 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 664 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
665 }; 665 };
666 666
667 667
668 } } // namespace v8::internal 668 } } // namespace v8::internal
669 669
670 #endif // V8_COMPILER_H_ 670 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698