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

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

Issue 1425883004: [turbofan] Fix missing bailout point before calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update unittests. 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/compiler/node-properties.cc ('k') | src/full-codegen/arm/full-codegen-arm.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 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/operator-properties.h" 5 #include "src/compiler/operator-properties.h"
6 6
7 #include "src/compiler/js-operator.h" 7 #include "src/compiler/js-operator.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 10
(...skipping 16 matching lines...) Expand all
27 case IrOpcode::kJSCallRuntime: { 27 case IrOpcode::kJSCallRuntime: {
28 const CallRuntimeParameters& p = CallRuntimeParametersOf(op); 28 const CallRuntimeParameters& p = CallRuntimeParametersOf(op);
29 return Linkage::FrameStateInputCount(p.id()); 29 return Linkage::FrameStateInputCount(p.id());
30 } 30 }
31 31
32 // Strict equality cannot lazily deoptimize. 32 // Strict equality cannot lazily deoptimize.
33 case IrOpcode::kJSStrictEqual: 33 case IrOpcode::kJSStrictEqual:
34 case IrOpcode::kJSStrictNotEqual: 34 case IrOpcode::kJSStrictNotEqual:
35 return 0; 35 return 0;
36 36
37 // Calls 37 // We record the frame state immediately before and immediately after every
38 // function call.
38 case IrOpcode::kJSCallFunction: 39 case IrOpcode::kJSCallFunction:
40 return 2;
41
42 // Construct calls
39 case IrOpcode::kJSCallConstruct: 43 case IrOpcode::kJSCallConstruct:
40 44
41 // Compare operations 45 // Compare operations
42 case IrOpcode::kJSEqual: 46 case IrOpcode::kJSEqual:
43 case IrOpcode::kJSNotEqual: 47 case IrOpcode::kJSNotEqual:
44 case IrOpcode::kJSHasProperty: 48 case IrOpcode::kJSHasProperty:
45 case IrOpcode::kJSInstanceOf: 49 case IrOpcode::kJSInstanceOf:
46 50
47 // Object operations 51 // Object operations
48 case IrOpcode::kJSCreateArguments: 52 case IrOpcode::kJSCreateArguments:
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 128 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
125 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 129 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
126 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 130 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
127 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 131 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
128 opcode == IrOpcode::kIfDefault; 132 opcode == IrOpcode::kIfDefault;
129 } 133 }
130 134
131 } // namespace compiler 135 } // namespace compiler
132 } // namespace internal 136 } // namespace internal
133 } // namespace v8 137 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/node-properties.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698