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

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

Issue 1145893003: [crankshaft] Record inlined shared function infos instead of closures. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test failures. Created 5 years, 6 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
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.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 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
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
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
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698