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

Side by Side Diff: src/x87/builtins-x87.cc

Issue 1642223003: [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate does not have a … (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed asserts preventing JSReceiver properties in ObjectTemplate Created 4 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/x64/builtins-x64.cc ('k') | test/cctest/test-api.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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 __ ret(0); 384 __ ret(0);
385 } 385 }
386 386
387 387
388 void Builtins::Generate_JSConstructStubGeneric(MacroAssembler* masm) { 388 void Builtins::Generate_JSConstructStubGeneric(MacroAssembler* masm) {
389 Generate_JSConstructStubHelper(masm, false, true, false); 389 Generate_JSConstructStubHelper(masm, false, true, false);
390 } 390 }
391 391
392 392
393 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { 393 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) {
394 Generate_JSConstructStubHelper(masm, true, true, false); 394 Generate_JSConstructStubHelper(masm, true, false, false);
395 } 395 }
396 396
397 397
398 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { 398 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) {
399 Generate_JSConstructStubHelper(masm, false, false, false); 399 Generate_JSConstructStubHelper(masm, false, false, false);
400 } 400 }
401 401
402 402
403 void Builtins::Generate_JSBuiltinsConstructStubForDerived( 403 void Builtins::Generate_JSBuiltinsConstructStubForDerived(
404 MacroAssembler* masm) { 404 MacroAssembler* masm) {
(...skipping 2277 matching lines...) Expand 10 before | Expand all | Expand 10 after
2682 2682
2683 __ bind(&ok); 2683 __ bind(&ok);
2684 __ ret(0); 2684 __ ret(0);
2685 } 2685 }
2686 2686
2687 #undef __ 2687 #undef __
2688 } // namespace internal 2688 } // namespace internal
2689 } // namespace v8 2689 } // namespace v8
2690 2690
2691 #endif // V8_TARGET_ARCH_X87 2691 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698