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

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

Issue 2047002: Add a flag to the ARM version of new space allocation in generated code... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 }; 43 };
44 44
45 45
46 enum HandlerType { 46 enum HandlerType {
47 TRY_CATCH_HANDLER, 47 TRY_CATCH_HANDLER,
48 TRY_FINALLY_HANDLER, 48 TRY_FINALLY_HANDLER,
49 JS_ENTRY_HANDLER 49 JS_ENTRY_HANDLER
50 }; 50 };
51 51
52 52
53 // Flags used for the AllocateInNewSpace functions.
54 enum AllocationFlags {
55 // No special flags.
56 NO_ALLOCATION_FLAGS = 0,
57 // Return the pointer to the allocated already tagged as a heap object.
58 TAG_OBJECT = 1 << 0,
59 // The content of the result register already contains the allocation top in
60 // new space.
61 RESULT_CONTAINS_TOP = 1 << 1
62 };
63
64 // Invalid depth in prototype chain. 53 // Invalid depth in prototype chain.
65 const int kInvalidProtoDepth = -1; 54 const int kInvalidProtoDepth = -1;
66 55
67 #if V8_TARGET_ARCH_IA32 56 #if V8_TARGET_ARCH_IA32
68 #include "assembler.h" 57 #include "assembler.h"
69 #include "ia32/assembler-ia32.h" 58 #include "ia32/assembler-ia32.h"
70 #include "ia32/assembler-ia32-inl.h" 59 #include "ia32/assembler-ia32-inl.h"
71 #include "code.h" // must be after assembler_*.h 60 #include "code.h" // must be after assembler_*.h
72 #include "ia32/macro-assembler-ia32.h" 61 #include "ia32/macro-assembler-ia32.h"
73 #elif V8_TARGET_ARCH_X64 62 #elif V8_TARGET_ARCH_X64
(...skipping 19 matching lines...) Expand all
93 #include "assembler.h" 82 #include "assembler.h"
94 #include "mips/assembler-mips.h" 83 #include "mips/assembler-mips.h"
95 #include "mips/assembler-mips-inl.h" 84 #include "mips/assembler-mips-inl.h"
96 #include "code.h" // must be after assembler_*.h 85 #include "code.h" // must be after assembler_*.h
97 #include "mips/macro-assembler-mips.h" 86 #include "mips/macro-assembler-mips.h"
98 #else 87 #else
99 #error Unsupported target architecture. 88 #error Unsupported target architecture.
100 #endif 89 #endif
101 90
102 #endif // V8_MACRO_ASSEMBLER_H_ 91 #endif // V8_MACRO_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698