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/ia32/full-codegen-ia32.cc

Issue 962263002: Disallow subclassing Arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes for debug-code issues 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/ia32/code-stubs-ia32.cc ('k') | src/messages.js » ('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_IA32 7 #if V8_TARGET_ARCH_IA32
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 4104 matching lines...) Expand 10 before | Expand all | Expand 10 after
4115 __ bind(&loop); 4115 __ bind(&loop);
4116 __ push(Operand(edx, -1 * kPointerSize)); 4116 __ push(Operand(edx, -1 * kPointerSize));
4117 __ sub(edx, Immediate(kPointerSize)); 4117 __ sub(edx, Immediate(kPointerSize));
4118 __ dec(ecx); 4118 __ dec(ecx);
4119 __ j(not_zero, &loop); 4119 __ j(not_zero, &loop);
4120 } 4120 }
4121 4121
4122 __ bind(&args_set_up); 4122 __ bind(&args_set_up);
4123 4123
4124 __ mov(edi, Operand(esp, eax, times_pointer_size, 0)); 4124 __ mov(edi, Operand(esp, eax, times_pointer_size, 0));
4125 4125 __ mov(ebx, Immediate(isolate()->factory()->undefined_value()));
4126 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); 4126 CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL);
4127 __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); 4127 __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
4128 4128
4129 __ Drop(1); 4129 __ Drop(1);
4130 4130
4131 context()->Plug(eax); 4131 context()->Plug(eax);
4132 } 4132 }
4133 4133
4134 4134
4135 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { 4135 void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) {
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
5364 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5364 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5365 Assembler::target_address_at(call_target_address, 5365 Assembler::target_address_at(call_target_address,
5366 unoptimized_code)); 5366 unoptimized_code));
5367 return OSR_AFTER_STACK_CHECK; 5367 return OSR_AFTER_STACK_CHECK;
5368 } 5368 }
5369 5369
5370 5370
5371 } } // namespace v8::internal 5371 } } // namespace v8::internal
5372 5372
5373 #endif // V8_TARGET_ARCH_IA32 5373 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698