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

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

Issue 1010883002: Switch full-codegen from StackHandlers to handler table. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-isolate-dead-code
Patch Set: Fix debugger-pause-on-promise-rejection. 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/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 #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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 // Abort execution if argument is not a name, enabled via --debug-code. 563 // Abort execution if argument is not a name, enabled via --debug-code.
564 void AssertName(Register object); 564 void AssertName(Register object);
565 565
566 // Abort execution if argument is not undefined or an AllocationSite, enabled 566 // Abort execution if argument is not undefined or an AllocationSite, enabled
567 // via --debug-code. 567 // via --debug-code.
568 void AssertUndefinedOrAllocationSite(Register object); 568 void AssertUndefinedOrAllocationSite(Register object);
569 569
570 // --------------------------------------------------------------------------- 570 // ---------------------------------------------------------------------------
571 // Exception handling 571 // Exception handling
572 572
573 // Push a new try handler and link it into try handler chain. 573 // Push a new stack handler and link it into stack handler chain.
574 void PushTryHandler(StackHandler::Kind kind, int handler_index); 574 void PushStackHandler();
575 575
576 // Unlink the stack handler on top of the stack from the try handler chain. 576 // Unlink the stack handler on top of the stack from the stack handler chain.
577 void PopTryHandler(); 577 void PopStackHandler();
578 578
579 // --------------------------------------------------------------------------- 579 // ---------------------------------------------------------------------------
580 // Inline caching support 580 // Inline caching support
581 581
582 // Generate code for checking access rights - used for security checks 582 // Generate code for checking access rights - used for security checks
583 // on access to global objects across environments. The holder register 583 // on access to global objects across environments. The holder register
584 // is left untouched, but the scratch register is clobbered. 584 // is left untouched, but the scratch register is clobbered.
585 void CheckAccessGlobalProxy(Register holder_reg, 585 void CheckAccessGlobalProxy(Register holder_reg,
586 Register scratch1, 586 Register scratch1,
587 Register scratch2, 587 Register scratch2,
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 } \ 1097 } \
1098 masm-> 1098 masm->
1099 #else 1099 #else
1100 #define ACCESS_MASM(masm) masm-> 1100 #define ACCESS_MASM(masm) masm->
1101 #endif 1101 #endif
1102 1102
1103 1103
1104 } } // namespace v8::internal 1104 } } // namespace v8::internal
1105 1105
1106 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1106 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698