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

Side by Side Diff: src/arm/full-codegen-arm.cc

Issue 638523003: Updates to maintain flag --vector-ics (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/debug-arm.cc ('k') | src/arm64/debug-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 1357
1358 void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { 1358 void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) {
1359 Comment cnmt(masm_, "[ SuperReference "); 1359 Comment cnmt(masm_, "[ SuperReference ");
1360 1360
1361 __ ldr(LoadDescriptor::ReceiverRegister(), 1361 __ ldr(LoadDescriptor::ReceiverRegister(),
1362 MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 1362 MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
1363 1363
1364 Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); 1364 Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol());
1365 __ Move(LoadDescriptor::NameRegister(), home_object_symbol); 1365 __ Move(LoadDescriptor::NameRegister(), home_object_symbol);
1366 1366
1367 CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); 1367 if (FLAG_vector_ics) {
1368 __ mov(VectorLoadICDescriptor::SlotRegister(),
1369 Operand(Smi::FromInt(expr->HomeObjectFeedbackSlot())));
1370 CallLoadIC(NOT_CONTEXTUAL);
1371 } else {
1372 CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId());
1373 }
1368 1374
1369 __ cmp(r0, Operand(isolate()->factory()->undefined_value())); 1375 __ cmp(r0, Operand(isolate()->factory()->undefined_value()));
1370 Label done; 1376 Label done;
1371 __ b(ne, &done); 1377 __ b(ne, &done);
1372 __ CallRuntime(Runtime::kThrowNonMethodError, 0); 1378 __ CallRuntime(Runtime::kThrowNonMethodError, 0);
1373 __ bind(&done); 1379 __ bind(&done);
1374 } 1380 }
1375 1381
1376 1382
1377 void FullCodeGenerator::EmitLoadGlobalCheckExtensions(VariableProxy* proxy, 1383 void FullCodeGenerator::EmitLoadGlobalCheckExtensions(VariableProxy* proxy,
(...skipping 3764 matching lines...) Expand 10 before | Expand all | Expand 10 after
5142 5148
5143 DCHECK(interrupt_address == 5149 DCHECK(interrupt_address ==
5144 isolate->builtins()->OsrAfterStackCheck()->entry()); 5150 isolate->builtins()->OsrAfterStackCheck()->entry());
5145 return OSR_AFTER_STACK_CHECK; 5151 return OSR_AFTER_STACK_CHECK;
5146 } 5152 }
5147 5153
5148 5154
5149 } } // namespace v8::internal 5155 } } // namespace v8::internal
5150 5156
5151 #endif // V8_TARGET_ARCH_ARM 5157 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/debug-arm.cc ('k') | src/arm64/debug-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698