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

Side by Side Diff: src/compiler.h

Issue 23842004: Pass PC offset into runtime when compiling for OSR. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments. 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
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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Handle<Code> InstallOptimizedCode(OptimizingCompiler* info); 628 static Handle<Code> InstallOptimizedCode(OptimizingCompiler* info);
629 629
630 static Handle<Code> CompileForOnStackReplacement(Handle<JSFunction> function);
631
632 static Handle<Code> CompileForConcurrentOSR(Handle<JSFunction> function);
633
634 #ifdef ENABLE_DEBUGGER_SUPPORT 630 #ifdef ENABLE_DEBUGGER_SUPPORT
635 static bool MakeCodeForLiveEdit(CompilationInfo* info); 631 static bool MakeCodeForLiveEdit(CompilationInfo* info);
636 #endif 632 #endif
637 633
638 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag, 634 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag,
639 CompilationInfo* info, 635 CompilationInfo* info,
640 Handle<SharedFunctionInfo> shared); 636 Handle<SharedFunctionInfo> shared);
641 }; 637 };
642 638
643 639
(...skipping 17 matching lines...) Expand all
661 unsigned info_zone_start_allocation_size_; 657 unsigned info_zone_start_allocation_size_;
662 ElapsedTimer timer_; 658 ElapsedTimer timer_;
663 659
664 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 660 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
665 }; 661 };
666 662
667 663
668 } } // namespace v8::internal 664 } } // namespace v8::internal
669 665
670 #endif // V8_COMPILER_H_ 666 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/compiler.cc » ('j') | src/runtime-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698