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

Side by Side Diff: src/compiler.h

Issue 1414883011: Remove receiver conversion from function prologue (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 1 month 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
« no previous file with comments | « src/bailout-reason.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 // 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 #ifndef V8_COMPILER_H_ 5 #ifndef V8_COMPILER_H_
6 #define V8_COMPILER_H_ 6 #define V8_COMPILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 // Deoptimization support. 319 // Deoptimization support.
320 bool HasDeoptimizationSupport() const { 320 bool HasDeoptimizationSupport() const {
321 return GetFlag(kDeoptimizationSupport); 321 return GetFlag(kDeoptimizationSupport);
322 } 322 }
323 void EnableDeoptimizationSupport() { 323 void EnableDeoptimizationSupport() {
324 DCHECK_EQ(BASE, mode_); 324 DCHECK_EQ(BASE, mode_);
325 SetFlag(kDeoptimizationSupport); 325 SetFlag(kDeoptimizationSupport);
326 } 326 }
327 bool ShouldEnsureSpaceForLazyDeopt() { return !IsStub(); } 327 bool ShouldEnsureSpaceForLazyDeopt() { return !IsStub(); }
328 328
329 bool MustReplaceUndefinedReceiverWithGlobalProxy(); 329 bool ExpectsJSReceiverAsReceiver();
330 330
331 // Determines whether or not to insert a self-optimization header. 331 // Determines whether or not to insert a self-optimization header.
332 bool ShouldSelfOptimize(); 332 bool ShouldSelfOptimize();
333 333
334 void set_deferred_handles(DeferredHandles* deferred_handles) { 334 void set_deferred_handles(DeferredHandles* deferred_handles) {
335 DCHECK(deferred_handles_ == NULL); 335 DCHECK(deferred_handles_ == NULL);
336 deferred_handles_ = deferred_handles; 336 deferred_handles_ = deferred_handles;
337 } 337 }
338 338
339 void ReopenHandlesInNewHandleScope() { 339 void ReopenHandlesInNewHandleScope() {
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 size_t info_zone_start_allocation_size_; 722 size_t info_zone_start_allocation_size_;
723 base::ElapsedTimer timer_; 723 base::ElapsedTimer timer_;
724 724
725 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 725 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
726 }; 726 };
727 727
728 } // namespace internal 728 } // namespace internal
729 } // namespace v8 729 } // namespace v8
730 730
731 #endif // V8_COMPILER_H_ 731 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/bailout-reason.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698