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

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.cc

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: addressed comments Created 4 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
OLDNEW
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 "src/crankshaft/arm64/lithium-arm64.h" 5 #include "src/crankshaft/arm64/lithium-arm64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 instr->closure(), instr->arguments_count(), instr->function(), undefined, 1394 instr->closure(), instr->arguments_count(), instr->function(), undefined,
1395 instr->inlining_kind(), instr->syntactic_tail_call_mode()); 1395 instr->inlining_kind(), instr->syntactic_tail_call_mode());
1396 // Only replay binding of arguments object if it wasn't removed from graph. 1396 // Only replay binding of arguments object if it wasn't removed from graph.
1397 if ((instr->arguments_var() != NULL) && 1397 if ((instr->arguments_var() != NULL) &&
1398 instr->arguments_object()->IsLinked()) { 1398 instr->arguments_object()->IsLinked()) {
1399 inner->Bind(instr->arguments_var(), instr->arguments_object()); 1399 inner->Bind(instr->arguments_var(), instr->arguments_object());
1400 } 1400 }
1401 inner->BindContext(instr->closure_context()); 1401 inner->BindContext(instr->closure_context());
1402 inner->set_entry(instr); 1402 inner->set_entry(instr);
1403 current_block_->UpdateEnvironment(inner); 1403 current_block_->UpdateEnvironment(inner);
1404 chunk_->AddInlinedFunction(instr->shared()); 1404
1405 return NULL; 1405 return NULL;
1406 } 1406 }
1407 1407
1408 1408
1409 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { 1409 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) {
1410 UNREACHABLE(); 1410 UNREACHABLE();
1411 return NULL; 1411 return NULL;
1412 } 1412 }
1413 1413
1414 1414
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 2489
2490 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2490 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2491 LOperand* receiver = UseRegister(instr->receiver()); 2491 LOperand* receiver = UseRegister(instr->receiver());
2492 LOperand* function = UseRegister(instr->function()); 2492 LOperand* function = UseRegister(instr->function());
2493 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2493 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2494 return AssignEnvironment(DefineAsRegister(result)); 2494 return AssignEnvironment(DefineAsRegister(result));
2495 } 2495 }
2496 2496
2497 } // namespace internal 2497 } // namespace internal
2498 } // namespace v8 2498 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698