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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 942513002: Put the type feedback vector in the unoptimized JavaScript frame. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reduced constant in deep recursion test for windows. Created 5 years, 8 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 | « no previous file | src/arm/frames-arm.h » ('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/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 2632 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 __ GetBuiltinFunction(r1, Builtins::CALL_NON_FUNCTION_AS_CONSTRUCTOR); 2643 __ GetBuiltinFunction(r1, Builtins::CALL_NON_FUNCTION_AS_CONSTRUCTOR);
2644 __ bind(&do_call); 2644 __ bind(&do_call);
2645 // Set expected number of arguments to zero (not changing r0). 2645 // Set expected number of arguments to zero (not changing r0).
2646 __ mov(r2, Operand::Zero()); 2646 __ mov(r2, Operand::Zero());
2647 __ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(), 2647 __ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(),
2648 RelocInfo::CODE_TARGET); 2648 RelocInfo::CODE_TARGET);
2649 } 2649 }
2650 2650
2651 2651
2652 static void EmitLoadTypeFeedbackVector(MacroAssembler* masm, Register vector) { 2652 static void EmitLoadTypeFeedbackVector(MacroAssembler* masm, Register vector) {
2653 __ ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 2653 __ ldr(vector,
2654 __ ldr(vector, FieldMemOperand(vector, 2654 MemOperand(fp, JavaScriptFrameConstants::kFeedbackVectorOffset));
2655 JSFunction::kSharedFunctionInfoOffset));
2656 __ ldr(vector, FieldMemOperand(vector,
2657 SharedFunctionInfo::kFeedbackVectorOffset));
2658 } 2655 }
2659 2656
2660 2657
2661 void CallIC_ArrayStub::Generate(MacroAssembler* masm) { 2658 void CallIC_ArrayStub::Generate(MacroAssembler* masm) {
2662 // r1 - function 2659 // r1 - function
2663 // r3 - slot id 2660 // r3 - slot id
2664 // r2 - vector 2661 // r2 - vector
2665 Label miss; 2662 Label miss;
2666 int argc = arg_count(); 2663 int argc = arg_count();
2667 ParameterCount actual(argc); 2664 ParameterCount actual(argc);
(...skipping 2615 matching lines...) Expand 10 before | Expand all | Expand 10 after
5283 kStackUnwindSpace, NULL, 5280 kStackUnwindSpace, NULL,
5284 MemOperand(fp, 6 * kPointerSize), NULL); 5281 MemOperand(fp, 6 * kPointerSize), NULL);
5285 } 5282 }
5286 5283
5287 5284
5288 #undef __ 5285 #undef __
5289 5286
5290 } } // namespace v8::internal 5287 } } // namespace v8::internal
5291 5288
5292 #endif // V8_TARGET_ARCH_ARM 5289 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/frames-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698