| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/bytecode-graph-builder.h" | 5 #include "src/compiler/bytecode-graph-builder.h" |
| 6 | 6 |
| 7 #include "src/compiler/linkage.h" | 7 #include "src/compiler/linkage.h" |
| 8 #include "src/compiler/operator-properties.h" | 8 #include "src/compiler/operator-properties.h" |
| 9 #include "src/interpreter/bytecode-array-iterator.h" | 9 #include "src/interpreter/bytecode-array-iterator.h" |
| 10 | 10 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 UNIMPLEMENTED(); | 254 UNIMPLEMENTED(); |
| 255 } | 255 } |
| 256 | 256 |
| 257 | 257 |
| 258 void BytecodeGraphBuilder::VisitLoadIC( | 258 void BytecodeGraphBuilder::VisitLoadIC( |
| 259 const interpreter::BytecodeArrayIterator& iterator) { | 259 const interpreter::BytecodeArrayIterator& iterator) { |
| 260 UNIMPLEMENTED(); | 260 UNIMPLEMENTED(); |
| 261 } | 261 } |
| 262 | 262 |
| 263 | 263 |
| 264 void BytecodeGraphBuilder::VisitLoadICStrict( |
| 265 const interpreter::BytecodeArrayIterator& iterator) { |
| 266 UNIMPLEMENTED(); |
| 267 } |
| 268 |
| 269 |
| 264 void BytecodeGraphBuilder::VisitKeyedLoadIC( | 270 void BytecodeGraphBuilder::VisitKeyedLoadIC( |
| 265 const interpreter::BytecodeArrayIterator& iterator) { | 271 const interpreter::BytecodeArrayIterator& iterator) { |
| 266 UNIMPLEMENTED(); | 272 UNIMPLEMENTED(); |
| 267 } | 273 } |
| 268 | 274 |
| 269 | 275 |
| 276 void BytecodeGraphBuilder::VisitKeyedLoadICStrict( |
| 277 const interpreter::BytecodeArrayIterator& iterator) { |
| 278 UNIMPLEMENTED(); |
| 279 } |
| 280 |
| 281 |
| 270 void BytecodeGraphBuilder::VisitStoreIC( | 282 void BytecodeGraphBuilder::VisitStoreIC( |
| 271 const interpreter::BytecodeArrayIterator& iterator) { | 283 const interpreter::BytecodeArrayIterator& iterator) { |
| 272 UNIMPLEMENTED(); | 284 UNIMPLEMENTED(); |
| 273 } | 285 } |
| 274 | 286 |
| 275 | 287 |
| 288 void BytecodeGraphBuilder::VisitStoreICStrict( |
| 289 const interpreter::BytecodeArrayIterator& iterator) { |
| 290 UNIMPLEMENTED(); |
| 291 } |
| 292 |
| 293 |
| 276 void BytecodeGraphBuilder::VisitKeyedStoreIC( | 294 void BytecodeGraphBuilder::VisitKeyedStoreIC( |
| 277 const interpreter::BytecodeArrayIterator& iterator) { | 295 const interpreter::BytecodeArrayIterator& iterator) { |
| 278 UNIMPLEMENTED(); | 296 UNIMPLEMENTED(); |
| 279 } | 297 } |
| 280 | 298 |
| 281 | 299 |
| 300 void BytecodeGraphBuilder::VisitKeyedStoreICStrict( |
| 301 const interpreter::BytecodeArrayIterator& iterator) { |
| 302 UNIMPLEMENTED(); |
| 303 } |
| 304 |
| 305 |
| 282 void BytecodeGraphBuilder::VisitCall( | 306 void BytecodeGraphBuilder::VisitCall( |
| 283 const interpreter::BytecodeArrayIterator& iterator) { | 307 const interpreter::BytecodeArrayIterator& iterator) { |
| 284 UNIMPLEMENTED(); | 308 UNIMPLEMENTED(); |
| 285 } | 309 } |
| 286 | 310 |
| 287 | 311 |
| 288 void BytecodeGraphBuilder::BuildBinaryOp( | 312 void BytecodeGraphBuilder::BuildBinaryOp( |
| 289 const Operator* js_op, const interpreter::BytecodeArrayIterator& iterator) { | 313 const Operator* js_op, const interpreter::BytecodeArrayIterator& iterator) { |
| 290 Node* left = environment()->LookupRegister(iterator.GetRegisterOperand(0)); | 314 Node* left = environment()->LookupRegister(iterator.GetRegisterOperand(0)); |
| 291 Node* right = environment()->LookupAccumulator(); | 315 Node* right = environment()->LookupAccumulator(); |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 | 562 |
| 539 void BytecodeGraphBuilder::UpdateControlDependencyToLeaveFunction(Node* exit) { | 563 void BytecodeGraphBuilder::UpdateControlDependencyToLeaveFunction(Node* exit) { |
| 540 if (environment()->IsMarkedAsUnreachable()) return; | 564 if (environment()->IsMarkedAsUnreachable()) return; |
| 541 environment()->MarkAsUnreachable(); | 565 environment()->MarkAsUnreachable(); |
| 542 exit_controls_.push_back(exit); | 566 exit_controls_.push_back(exit); |
| 543 } | 567 } |
| 544 | 568 |
| 545 } // namespace compiler | 569 } // namespace compiler |
| 546 } // namespace internal | 570 } // namespace internal |
| 547 } // namespace v8 | 571 } // namespace v8 |
| OLD | NEW |