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

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

Issue 923443003: new classes: no longer experimental. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: One more rebase? Created 5 years, 10 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/builtins-arm.cc ('k') | src/arm64/builtins-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 3244 matching lines...) Expand 10 before | Expand all | Expand 10 after
3255 __ mov(r3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot()))); 3255 __ mov(r3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot())));
3256 3256
3257 CallConstructStub stub(isolate(), RECORD_CONSTRUCTOR_TARGET); 3257 CallConstructStub stub(isolate(), RECORD_CONSTRUCTOR_TARGET);
3258 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); 3258 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
3259 PrepareForBailoutForId(expr->ReturnId(), TOS_REG); 3259 PrepareForBailoutForId(expr->ReturnId(), TOS_REG);
3260 context()->Plug(r0); 3260 context()->Plug(r0);
3261 } 3261 }
3262 3262
3263 3263
3264 void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { 3264 void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
3265 Comment cmnt(masm_, "[ SuperConstructorCall"); 3265 if (!ValidateSuperCall(expr)) return;
3266 Variable* new_target_var = scope()->DeclarationScope()->new_target_var(); 3266 Variable* new_target_var = scope()->DeclarationScope()->new_target_var();
3267 GetVar(result_register(), new_target_var); 3267 GetVar(result_register(), new_target_var);
3268 __ Push(result_register()); 3268 __ Push(result_register());
3269 3269
3270 EmitLoadSuperConstructor(); 3270 EmitLoadSuperConstructor();
3271 __ push(result_register()); 3271 __ push(result_register());
3272 3272
3273 // Push the arguments ("left-to-right") on the stack. 3273 // Push the arguments ("left-to-right") on the stack.
3274 ZoneList<Expression*>* args = expr->arguments(); 3274 ZoneList<Expression*>* args = expr->arguments();
3275 int arg_count = args->length(); 3275 int arg_count = args->length();
(...skipping 2214 matching lines...) Expand 10 before | Expand all | Expand 10 after
5490 5490
5491 DCHECK(interrupt_address == 5491 DCHECK(interrupt_address ==
5492 isolate->builtins()->OsrAfterStackCheck()->entry()); 5492 isolate->builtins()->OsrAfterStackCheck()->entry());
5493 return OSR_AFTER_STACK_CHECK; 5493 return OSR_AFTER_STACK_CHECK;
5494 } 5494 }
5495 5495
5496 5496
5497 } } // namespace v8::internal 5497 } } // namespace v8::internal
5498 5498
5499 #endif // V8_TARGET_ARCH_ARM 5499 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698