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

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

Issue 573003: ia32: Fuse map and type checks in call ICs for API functions. (Closed)
Patch Set: Rewrote a comment. Created 10 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 enum AllocationFlags { 54 enum AllocationFlags {
55 // No special flags. 55 // No special flags.
56 NO_ALLOCATION_FLAGS = 0, 56 NO_ALLOCATION_FLAGS = 0,
57 // Return the pointer to the allocated already tagged as a heap object. 57 // Return the pointer to the allocated already tagged as a heap object.
58 TAG_OBJECT = 1 << 0, 58 TAG_OBJECT = 1 << 0,
59 // The content of the result register already contains the allocation top in 59 // The content of the result register already contains the allocation top in
60 // new space. 60 // new space.
61 RESULT_CONTAINS_TOP = 1 << 1 61 RESULT_CONTAINS_TOP = 1 << 1
62 }; 62 };
63 63
64 // Invalid depth in prototype chain.
65 const int kInvalidProtoDepth = -1;
64 66
65 #if V8_TARGET_ARCH_IA32 67 #if V8_TARGET_ARCH_IA32
66 #include "assembler.h" 68 #include "assembler.h"
67 #include "ia32/assembler-ia32.h" 69 #include "ia32/assembler-ia32.h"
68 #include "ia32/assembler-ia32-inl.h" 70 #include "ia32/assembler-ia32-inl.h"
69 #include "code.h" // must be after assembler_*.h 71 #include "code.h" // must be after assembler_*.h
70 #include "ia32/macro-assembler-ia32.h" 72 #include "ia32/macro-assembler-ia32.h"
71 #elif V8_TARGET_ARCH_X64 73 #elif V8_TARGET_ARCH_X64
72 #include "assembler.h" 74 #include "assembler.h"
73 #include "x64/assembler-x64.h" 75 #include "x64/assembler-x64.h"
(...skipping 10 matching lines...) Expand all
84 #include "arm/assembler-arm.h" 86 #include "arm/assembler-arm.h"
85 #include "arm/assembler-arm-inl.h" 87 #include "arm/assembler-arm-inl.h"
86 #endif 88 #endif
87 #include "code.h" // must be after assembler_*.h 89 #include "code.h" // must be after assembler_*.h
88 #include "arm/macro-assembler-arm.h" 90 #include "arm/macro-assembler-arm.h"
89 #else 91 #else
90 #error Unsupported target architecture. 92 #error Unsupported target architecture.
91 #endif 93 #endif
92 94
93 #endif // V8_MACRO_ASSEMBLER_H_ 95 #endif // V8_MACRO_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698