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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 1542963002: [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@FunctionConstructor
Patch Set: arm port. Created 4 years, 12 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
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 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 521
522 // Abort execution if argument is not a string, enabled via --debug-code. 522 // Abort execution if argument is not a string, enabled via --debug-code.
523 void AssertString(Register object); 523 void AssertString(Register object);
524 524
525 // Abort execution if argument is not a name, enabled via --debug-code. 525 // Abort execution if argument is not a name, enabled via --debug-code.
526 void AssertName(Register object); 526 void AssertName(Register object);
527 527
528 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 528 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
529 void AssertFunction(Register object); 529 void AssertFunction(Register object);
530 530
531 // Abort execution if argument is not a JSBoundFunction,
532 // enabled via --debug-code.
533 void AssertBoundFunction(Register object);
534
531 // Abort execution if argument is not undefined or an AllocationSite, enabled 535 // Abort execution if argument is not undefined or an AllocationSite, enabled
532 // via --debug-code. 536 // via --debug-code.
533 void AssertUndefinedOrAllocationSite(Register object); 537 void AssertUndefinedOrAllocationSite(Register object);
534 538
535 // --------------------------------------------------------------------------- 539 // ---------------------------------------------------------------------------
536 // Exception handling 540 // Exception handling
537 541
538 // Push a new stack handler and link it into stack handler chain. 542 // Push a new stack handler and link it into stack handler chain.
539 void PushStackHandler(); 543 void PushStackHandler();
540 544
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 } \ 1007 } \
1004 masm-> 1008 masm->
1005 #else 1009 #else
1006 #define ACCESS_MASM(masm) masm-> 1010 #define ACCESS_MASM(masm) masm->
1007 #endif 1011 #endif
1008 1012
1009 } // namespace internal 1013 } // namespace internal
1010 } // namespace v8 1014 } // namespace v8
1011 1015
1012 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1016 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698