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

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

Issue 1033463002: Version 4.2.77.11 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.2
Patch Set: Created 5 years, 9 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/x87/code-stubs-x87.cc ('k') | no next file » | 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_X87 7 #if V8_TARGET_ARCH_X87
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 4092 matching lines...) Expand 10 before | Expand all | Expand 10 after
4103 __ bind(&loop); 4103 __ bind(&loop);
4104 __ push(Operand(edx, -1 * kPointerSize)); 4104 __ push(Operand(edx, -1 * kPointerSize));
4105 __ sub(edx, Immediate(kPointerSize)); 4105 __ sub(edx, Immediate(kPointerSize));
4106 __ dec(ecx); 4106 __ dec(ecx);
4107 __ j(not_zero, &loop); 4107 __ j(not_zero, &loop);
4108 } 4108 }
4109 4109
4110 __ bind(&args_set_up); 4110 __ bind(&args_set_up);
4111 4111
4112 __ mov(edi, Operand(esp, eax, times_pointer_size, 0)); 4112 __ mov(edi, Operand(esp, eax, times_pointer_size, 0));
4113 4113 __ mov(ebx, Immediate(isolate()->factory()->undefined_value()));
4114 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); 4114 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL);
4115 __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); 4115 __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
4116 4116
4117 __ Drop(1); 4117 __ Drop(1);
4118 4118
4119 context()->Plug(eax); 4119 context()->Plug(eax);
4120 } 4120 }
4121 4121
4122 4122
4123 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { 4123 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) {
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
5352 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5352 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5353 Assembler::target_address_at(call_target_address, 5353 Assembler::target_address_at(call_target_address,
5354 unoptimized_code)); 5354 unoptimized_code));
5355 return OSR_AFTER_STACK_CHECK; 5355 return OSR_AFTER_STACK_CHECK;
5356 } 5356 }
5357 5357
5358 5358
5359 } } // namespace v8::internal 5359 } } // namespace v8::internal
5360 5360
5361 #endif // V8_TARGET_ARCH_X87 5361 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698