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

Side by Side Diff: src/compiler.cc

Issue 516853002: Preliminary lowering of typed array loads in TF. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixups after rebase. Created 6 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 | « src/compiler.h ('k') | src/compiler/access-builder.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/compiler.h" 7 #include "src/compiler.h"
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 132 }
133 if (mode == STUB) { 133 if (mode == STUB) {
134 mode_ = STUB; 134 mode_ = STUB;
135 return; 135 return;
136 } 136 }
137 mode_ = mode; 137 mode_ = mode;
138 abort_due_to_dependency_ = false; 138 abort_due_to_dependency_ = false;
139 if (script_->type()->value() == Script::TYPE_NATIVE) MarkAsNative(); 139 if (script_->type()->value() == Script::TYPE_NATIVE) MarkAsNative();
140 if (isolate_->debug()->is_active()) MarkAsDebug(); 140 if (isolate_->debug()->is_active()) MarkAsDebug();
141 if (FLAG_context_specialization) MarkAsContextSpecializing(); 141 if (FLAG_context_specialization) MarkAsContextSpecializing();
142 if (FLAG_turbo_types) MarkAsTypingEnabled();
142 143
143 if (!shared_info_.is_null()) { 144 if (!shared_info_.is_null()) {
144 DCHECK(strict_mode() == SLOPPY); 145 DCHECK(strict_mode() == SLOPPY);
145 SetStrictMode(shared_info_->strict_mode()); 146 SetStrictMode(shared_info_->strict_mode());
146 } 147 }
147 set_bailout_reason(kUnknown); 148 set_bailout_reason(kUnknown);
148 149
149 if (!shared_info().is_null() && shared_info()->is_compiled()) { 150 if (!shared_info().is_null() && shared_info()->is_compiled()) {
150 // We should initialize the CompilationInfo feedback vector from the 151 // We should initialize the CompilationInfo feedback vector from the
151 // passed in shared info, rather than creating a new one. 152 // passed in shared info, rather than creating a new one.
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 AllowHandleDereference allow_deref; 1379 AllowHandleDereference allow_deref;
1379 bool tracing_on = info()->IsStub() 1380 bool tracing_on = info()->IsStub()
1380 ? FLAG_trace_hydrogen_stubs 1381 ? FLAG_trace_hydrogen_stubs
1381 : (FLAG_trace_hydrogen && 1382 : (FLAG_trace_hydrogen &&
1382 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); 1383 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter));
1383 return (tracing_on && 1384 return (tracing_on &&
1384 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); 1385 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
1385 } 1386 }
1386 1387
1387 } } // namespace v8::internal 1388 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/compiler.h ('k') | src/compiler/access-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698