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

Side by Side Diff: src/sh4/deoptimizer-sh4.cc

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: Use GYP and fixe some typos Created 8 years, 1 month 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
« no previous file with comments | « src/sh4/debug-sh4.cc ('k') | src/sh4/disasm-sh4.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011-2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are
4 // met:
5 //
6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution.
12 // * Neither the name of Google Inc. nor the names of its
13 // contributors may be used to endorse or promote products derived
14 // from this software without specific prior written permission.
15 //
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 #include "v8.h"
29
30 #include "codegen.h"
31 #include "deoptimizer.h"
32 #include "full-codegen.h"
33 #include "safepoint-table.h"
34
35 namespace v8 {
36 namespace internal {
37
38 const int Deoptimizer::table_entry_size_ = 16;
39
40
41 int Deoptimizer::patch_size() {
42 UNIMPLEMENTED();
43 return 0;
44 }
45
46
47 void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) {
48 UNIMPLEMENTED();
49 }
50
51
52 void Deoptimizer::DeoptimizeFunction(JSFunction* function) {
53 UNIMPLEMENTED();
54 }
55
56
57 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code,
58 Address pc_after,
59 Code* check_code,
60 Code* replacement_code) {
61 UNIMPLEMENTED();
62 }
63
64
65 void Deoptimizer::RevertStackCheckCodeAt(Code* unoptimized_code,
66 Address pc_after,
67 Code* check_code,
68 Code* replacement_code) {
69 UNIMPLEMENTED();
70 }
71
72
73 void Deoptimizer::DoComputeOsrOutputFrame() {
74 UNIMPLEMENTED();
75 }
76
77
78 void Deoptimizer::FillInputFrame(Address tos, JavaScriptFrame* frame) {
79 UNIMPLEMENTED();
80 }
81
82
83 void Deoptimizer::DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator,
84 int frame_index) {
85 UNIMPLEMENTED();
86 }
87
88
89 void Deoptimizer::DoComputeConstructStubFrame(TranslationIterator* iterator,
90 int frame_index) {
91 UNIMPLEMENTED();
92 }
93
94 void Deoptimizer::DoComputeAccessorStubFrame(TranslationIterator* iterator,
95 int frame_index,
96 bool is_setter_stub_frame) {
97 UNIMPLEMENTED();
98 }
99
100
101 // This code is very similar to ia32 code, but relies on register names (fp, sp)
102 // and how the frame is laid out.
103 void Deoptimizer::DoComputeJSFrame(TranslationIterator* iterator,
104 int frame_index) {
105 UNIMPLEMENTED();
106 }
107
108
109 #define __ masm()->
110
111 // This code tries to be close to ia32 code so that any changes can be
112 // easily ported.
113 void Deoptimizer::EntryGenerator::Generate() {
114 UNIMPLEMENTED();
115 }
116
117
118 void Deoptimizer::TableEntryGenerator::GeneratePrologue() {
119 UNIMPLEMENTED();
120 }
121
122
123 } } // namespace v8::internal
124
OLDNEW
« no previous file with comments | « src/sh4/debug-sh4.cc ('k') | src/sh4/disasm-sh4.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698