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

Side by Side Diff: src/compiler/common-operator.cc

Issue 1244583003: [turbofan]: Add a context relaxer reducer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 years, 5 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 } else { 769 } else {
770 UNREACHABLE(); 770 UNREACHABLE();
771 return nullptr; 771 return nullptr;
772 } 772 }
773 } 773 }
774 774
775 775
776 const FrameStateFunctionInfo* 776 const FrameStateFunctionInfo*
777 CommonOperatorBuilder::CreateFrameStateFunctionInfo( 777 CommonOperatorBuilder::CreateFrameStateFunctionInfo(
778 FrameStateType type, int parameter_count, int local_count, 778 FrameStateType type, int parameter_count, int local_count,
779 Handle<SharedFunctionInfo> shared_info) { 779 Handle<SharedFunctionInfo> shared_info,
780 ContextCallingMode context_calling_mode) {
780 return new (zone()->New(sizeof(FrameStateFunctionInfo))) 781 return new (zone()->New(sizeof(FrameStateFunctionInfo)))
781 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); 782 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info,
783 context_calling_mode);
782 } 784 }
783 785
784 } // namespace compiler 786 } // namespace compiler
785 } // namespace internal 787 } // namespace internal
786 } // namespace v8 788 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698