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

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

Issue 3169049: Remove dependence of code-stubs on codegen, the virtual frame code generator.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 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/log.cc ('k') | src/objects.h » ('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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #include "mips/constants-mips.h" 76 #include "mips/constants-mips.h"
77 #include "assembler.h" 77 #include "assembler.h"
78 #include "mips/assembler-mips.h" 78 #include "mips/assembler-mips.h"
79 #include "mips/assembler-mips-inl.h" 79 #include "mips/assembler-mips-inl.h"
80 #include "code.h" // must be after assembler_*.h 80 #include "code.h" // must be after assembler_*.h
81 #include "mips/macro-assembler-mips.h" 81 #include "mips/macro-assembler-mips.h"
82 #else 82 #else
83 #error Unsupported target architecture. 83 #error Unsupported target architecture.
84 #endif 84 #endif
85 85
86 namespace v8 {
87 namespace internal {
88
89 // Support for "structured" code comments.
90 #ifdef DEBUG
91
92 class Comment {
93 public:
94 Comment(MacroAssembler* masm, const char* msg);
95 ~Comment();
96
97 private:
98 MacroAssembler* masm_;
99 const char* msg_;
100 };
101
102 #else
103
104 class Comment {
105 public:
106 Comment(MacroAssembler*, const char*) {}
107 };
108
109 #endif // DEBUG
110
111 } } // namespace v8::internal
112
86 #endif // V8_MACRO_ASSEMBLER_H_ 113 #endif // V8_MACRO_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698