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

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

Issue 9373022: Streamline throwing in the C entry stub. (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/ia32/macro-assembler-ia32.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 2012 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
(...skipping 18 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 // Types of uncatchable exceptions.
40 enum UncatchableExceptionType {
41 OUT_OF_MEMORY,
42 TERMINATION
43 };
44
45
46 // Invalid depth in prototype chain. 39 // Invalid depth in prototype chain.
47 const int kInvalidProtoDepth = -1; 40 const int kInvalidProtoDepth = -1;
48 41
49 #if V8_TARGET_ARCH_IA32 42 #if V8_TARGET_ARCH_IA32
50 #include "assembler.h" 43 #include "assembler.h"
51 #include "ia32/assembler-ia32.h" 44 #include "ia32/assembler-ia32.h"
52 #include "ia32/assembler-ia32-inl.h" 45 #include "ia32/assembler-ia32-inl.h"
53 #include "code.h" // must be after assembler_*.h 46 #include "code.h" // must be after assembler_*.h
54 #include "ia32/macro-assembler-ia32.h" 47 #include "ia32/macro-assembler-ia32.h"
55 #elif V8_TARGET_ARCH_X64 48 #elif V8_TARGET_ARCH_X64
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 class Comment { 147 class Comment {
155 public: 148 public:
156 Comment(MacroAssembler*, const char*) {} 149 Comment(MacroAssembler*, const char*) {}
157 }; 150 };
158 151
159 #endif // DEBUG 152 #endif // DEBUG
160 153
161 } } // namespace v8::internal 154 } } // namespace v8::internal
162 155
163 #endif // V8_MACRO_ASSEMBLER_H_ 156 #endif // V8_MACRO_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698