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

Unified Diff: src/compiler.h

Issue 1685633002: [interpreter] CompilationInfo::unoptimized_code only for OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-pipeline-1
Patch Set: Remove thingie. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 112696baa0cfcbcd43245e2fcb005077bfe7ae6e..3195b81da0b3585059ee85c05774eb9c43a3314e 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -247,7 +247,8 @@ class CompilationInfo {
// Accessors for the different compilation modes.
bool IsOptimizing() const { return mode_ == OPTIMIZE; }
bool IsStub() const { return mode_ == STUB; }
- void SetOptimizing(BailoutId osr_ast_id, Handle<Code> unoptimized) {
+ void SetOptimizing(BailoutId osr_ast_id = BailoutId::None(),
+ Handle<Code> unoptimized = Handle<Code>::null()) {
rmcilroy 2016/02/09 22:06:07 nit - maybe remove these parameters, and instead a
Michael Starzinger 2016/02/10 10:01:11 Done. Nice idea, I like!
DCHECK(has_shared_info());
SetMode(OPTIMIZE);
osr_ast_id_ = osr_ast_id;
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698