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

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

Issue 1035533004: PPC: Switch full-codegen from StackHandlers to handler table. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/ppc/full-codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 void IsObjectNameType(Register object, Register scratch, Label* fail); 537 void IsObjectNameType(Register object, Register scratch, Label* fail);
538 538
539 // --------------------------------------------------------------------------- 539 // ---------------------------------------------------------------------------
540 // Debugger Support 540 // Debugger Support
541 541
542 void DebugBreak(); 542 void DebugBreak();
543 543
544 // --------------------------------------------------------------------------- 544 // ---------------------------------------------------------------------------
545 // Exception handling 545 // Exception handling
546 546
547 // Push a new try handler and link into try handler chain. 547 // Push a new stack handler and link into stack handler chain.
548 void PushTryHandler(StackHandler::Kind kind, int handler_index); 548 void PushStackHandler();
549 549
550 // Unlink the stack handler on top of the stack from the try handler chain. 550 // Unlink the stack handler on top of the stack from the stack handler chain.
551 // Must preserve the result register. 551 // Must preserve the result register.
552 void PopTryHandler(); 552 void PopStackHandler();
553 553
554 // --------------------------------------------------------------------------- 554 // ---------------------------------------------------------------------------
555 // Inline caching support 555 // Inline caching support
556 556
557 // Generate code for checking access rights - used for security checks 557 // Generate code for checking access rights - used for security checks
558 // on access to global objects across environments. The holder register 558 // on access to global objects across environments. The holder register
559 // is left untouched, whereas both scratch registers are clobbered. 559 // is left untouched, whereas both scratch registers are clobbered.
560 void CheckAccessGlobalProxy(Register holder_reg, Register scratch, 560 void CheckAccessGlobalProxy(Register holder_reg, Register scratch,
561 Label* miss); 561 Label* miss);
562 562
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 #define ACCESS_MASM(masm) \ 1549 #define ACCESS_MASM(masm) \
1550 masm->stop(__FILE_LINE__); \ 1550 masm->stop(__FILE_LINE__); \
1551 masm-> 1551 masm->
1552 #else 1552 #else
1553 #define ACCESS_MASM(masm) masm-> 1553 #define ACCESS_MASM(masm) masm->
1554 #endif 1554 #endif
1555 } 1555 }
1556 } // namespace v8::internal 1556 } // namespace v8::internal
1557 1557
1558 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1558 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/full-codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698