OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 21 matching lines...) Expand all Loading... |
32 #include "full-codegen.h" | 32 #include "full-codegen.h" |
33 #include "safepoint-table.h" | 33 #include "safepoint-table.h" |
34 | 34 |
35 // Note: this file was taken from the X64 version. ARM has a partially working | 35 // Note: this file was taken from the X64 version. ARM has a partially working |
36 // lithium implementation, but for now it is not ported to mips. | 36 // lithium implementation, but for now it is not ported to mips. |
37 | 37 |
38 namespace v8 { | 38 namespace v8 { |
39 namespace internal { | 39 namespace internal { |
40 | 40 |
41 | 41 |
42 int Deoptimizer::table_entry_size_ = 10; | 42 const int Deoptimizer::table_entry_size_ = 10; |
43 | 43 |
44 | 44 |
45 int Deoptimizer::patch_size() { | 45 int Deoptimizer::patch_size() { |
46 const int kCallInstructionSizeInWords = 3; | 46 const int kCallInstructionSizeInWords = 3; |
47 return kCallInstructionSizeInWords * Assembler::kInstrSize; | 47 return kCallInstructionSizeInWords * Assembler::kInstrSize; |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 void Deoptimizer::DeoptimizeFunction(JSFunction* function) { | 51 void Deoptimizer::DeoptimizeFunction(JSFunction* function) { |
52 UNIMPLEMENTED(); | 52 UNIMPLEMENTED(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 UNIMPLEMENTED(); | 87 UNIMPLEMENTED(); |
88 } | 88 } |
89 | 89 |
90 | 90 |
91 void Deoptimizer::TableEntryGenerator::GeneratePrologue() { | 91 void Deoptimizer::TableEntryGenerator::GeneratePrologue() { |
92 UNIMPLEMENTED(); | 92 UNIMPLEMENTED(); |
93 } | 93 } |
94 | 94 |
95 | 95 |
96 } } // namespace v8::internal | 96 } } // namespace v8::internal |
OLD | NEW |