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

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

Issue 9372016: Simplify handler pushing. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/isolate.cc ('k') | src/mips/code-stubs-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 17 matching lines...) Expand all
29 #define V8_MACRO_ASSEMBLER_H_ 29 #define V8_MACRO_ASSEMBLER_H_
30 30
31 31
32 // Helper types to make boolean flag easier to read at call-site. 32 // Helper types to make boolean flag easier to read at call-site.
33 enum InvokeFlag { 33 enum InvokeFlag {
34 CALL_FUNCTION, 34 CALL_FUNCTION,
35 JUMP_FUNCTION 35 JUMP_FUNCTION
36 }; 36 };
37 37
38 38
39 enum CodeLocation {
40 IN_JAVASCRIPT,
41 IN_JS_ENTRY,
42 IN_C_ENTRY
43 };
44
45
46 enum HandlerType {
47 TRY_CATCH_HANDLER,
48 TRY_FINALLY_HANDLER,
49 JS_ENTRY_HANDLER
50 };
51
52
53 // Types of uncatchable exceptions. 39 // Types of uncatchable exceptions.
54 enum UncatchableExceptionType { 40 enum UncatchableExceptionType {
55 OUT_OF_MEMORY, 41 OUT_OF_MEMORY,
56 TERMINATION 42 TERMINATION
57 }; 43 };
58 44
59 45
60 // Invalid depth in prototype chain. 46 // Invalid depth in prototype chain.
61 const int kInvalidProtoDepth = -1; 47 const int kInvalidProtoDepth = -1;
62 48
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 class Comment { 154 class Comment {
169 public: 155 public:
170 Comment(MacroAssembler*, const char*) {} 156 Comment(MacroAssembler*, const char*) {}
171 }; 157 };
172 158
173 #endif // DEBUG 159 #endif // DEBUG
174 160
175 } } // namespace v8::internal 161 } } // namespace v8::internal
176 162
177 #endif // V8_MACRO_ASSEMBLER_H_ 163 #endif // V8_MACRO_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698