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 19 matching lines...) Expand all Loading... |
30 #if defined(V8_TARGET_ARCH_IA32) | 30 #if defined(V8_TARGET_ARCH_IA32) |
31 | 31 |
32 #include "codegen.h" | 32 #include "codegen.h" |
33 #include "deoptimizer.h" | 33 #include "deoptimizer.h" |
34 #include "full-codegen.h" | 34 #include "full-codegen.h" |
35 #include "safepoint-table.h" | 35 #include "safepoint-table.h" |
36 | 36 |
37 namespace v8 { | 37 namespace v8 { |
38 namespace internal { | 38 namespace internal { |
39 | 39 |
40 int Deoptimizer::table_entry_size_ = 10; | 40 const int Deoptimizer::table_entry_size_ = 10; |
41 | 41 |
42 | 42 |
43 int Deoptimizer::patch_size() { | 43 int Deoptimizer::patch_size() { |
44 return Assembler::kCallInstructionLength; | 44 return Assembler::kCallInstructionLength; |
45 } | 45 } |
46 | 46 |
47 | 47 |
48 static void ZapCodeRange(Address start, Address end) { | 48 static void ZapCodeRange(Address start, Address end) { |
49 #ifdef DEBUG | 49 #ifdef DEBUG |
50 ASSERT(start <= end); | 50 ASSERT(start <= end); |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 } | 792 } |
793 __ bind(&done); | 793 __ bind(&done); |
794 } | 794 } |
795 | 795 |
796 #undef __ | 796 #undef __ |
797 | 797 |
798 | 798 |
799 } } // namespace v8::internal | 799 } } // namespace v8::internal |
800 | 800 |
801 #endif // V8_TARGET_ARCH_IA32 | 801 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |