OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/arm64/lithium-codegen-arm64.h" | 9 #include "src/arm64/lithium-codegen-arm64.h" |
10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
(...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1497 undefined, | 1497 undefined, |
1498 instr->inlining_kind()); | 1498 instr->inlining_kind()); |
1499 // Only replay binding of arguments object if it wasn't removed from graph. | 1499 // Only replay binding of arguments object if it wasn't removed from graph. |
1500 if ((instr->arguments_var() != NULL) && | 1500 if ((instr->arguments_var() != NULL) && |
1501 instr->arguments_object()->IsLinked()) { | 1501 instr->arguments_object()->IsLinked()) { |
1502 inner->Bind(instr->arguments_var(), instr->arguments_object()); | 1502 inner->Bind(instr->arguments_var(), instr->arguments_object()); |
1503 } | 1503 } |
1504 inner->BindContext(instr->closure_context()); | 1504 inner->BindContext(instr->closure_context()); |
1505 inner->set_entry(instr); | 1505 inner->set_entry(instr); |
1506 current_block_->UpdateEnvironment(inner); | 1506 current_block_->UpdateEnvironment(inner); |
1507 chunk_->AddInlinedClosure(instr->closure()); | 1507 chunk_->AddInlinedFunction(instr->shared()); |
1508 return NULL; | 1508 return NULL; |
1509 } | 1509 } |
1510 | 1510 |
1511 | 1511 |
1512 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { | 1512 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
1513 UNREACHABLE(); | 1513 UNREACHABLE(); |
1514 return NULL; | 1514 return NULL; |
1515 } | 1515 } |
1516 | 1516 |
1517 | 1517 |
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2758 HAllocateBlockContext* instr) { | 2758 HAllocateBlockContext* instr) { |
2759 LOperand* context = UseFixed(instr->context(), cp); | 2759 LOperand* context = UseFixed(instr->context(), cp); |
2760 LOperand* function = UseRegisterAtStart(instr->function()); | 2760 LOperand* function = UseRegisterAtStart(instr->function()); |
2761 LAllocateBlockContext* result = | 2761 LAllocateBlockContext* result = |
2762 new(zone()) LAllocateBlockContext(context, function); | 2762 new(zone()) LAllocateBlockContext(context, function); |
2763 return MarkAsCall(DefineFixed(result, cp), instr); | 2763 return MarkAsCall(DefineFixed(result, cp), instr); |
2764 } | 2764 } |
2765 | 2765 |
2766 | 2766 |
2767 } } // namespace v8::internal | 2767 } } // namespace v8::internal |
OLD | NEW |