| OLD | NEW | 
|---|
| 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 4090 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4101     __ bind(&loop); | 4101     __ bind(&loop); | 
| 4102     __ push(Operand(edx, -1 * kPointerSize)); | 4102     __ push(Operand(edx, -1 * kPointerSize)); | 
| 4103     __ sub(edx, Immediate(kPointerSize)); | 4103     __ sub(edx, Immediate(kPointerSize)); | 
| 4104     __ dec(ecx); | 4104     __ dec(ecx); | 
| 4105     __ j(not_zero, &loop); | 4105     __ j(not_zero, &loop); | 
| 4106   } | 4106   } | 
| 4107 | 4107 | 
| 4108   __ bind(&args_set_up); | 4108   __ bind(&args_set_up); | 
| 4109 | 4109 | 
| 4110   __ mov(edi, Operand(esp, eax, times_pointer_size, 0)); | 4110   __ mov(edi, Operand(esp, eax, times_pointer_size, 0)); | 
| 4111 | 4111   __ mov(ebx, Immediate(isolate()->factory()->undefined_value())); | 
| 4112   CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); | 4112   CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); | 
| 4113   __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); | 4113   __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); | 
| 4114 | 4114 | 
| 4115   __ Drop(1); | 4115   __ Drop(1); | 
| 4116 | 4116 | 
| 4117   context()->Plug(eax); | 4117   context()->Plug(eax); | 
| 4118 } | 4118 } | 
| 4119 | 4119 | 
| 4120 | 4120 | 
| 4121 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { | 4121 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { | 
| (...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 5350   DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), | 5350   DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), | 
| 5351             Assembler::target_address_at(call_target_address, | 5351             Assembler::target_address_at(call_target_address, | 
| 5352                                          unoptimized_code)); | 5352                                          unoptimized_code)); | 
| 5353   return OSR_AFTER_STACK_CHECK; | 5353   return OSR_AFTER_STACK_CHECK; | 
| 5354 } | 5354 } | 
| 5355 | 5355 | 
| 5356 | 5356 | 
| 5357 } }  // namespace v8::internal | 5357 } }  // namespace v8::internal | 
| 5358 | 5358 | 
| 5359 #endif  // V8_TARGET_ARCH_X87 | 5359 #endif  // V8_TARGET_ARCH_X87 | 
| OLD | NEW | 
|---|