OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1484 Major MajorKey() const { return CEntry; } | 1484 Major MajorKey() const { return CEntry; } |
1485 | 1485 |
1486 bool save_doubles() const { return SaveDoublesBits::decode(minor_key_); } | 1486 bool save_doubles() const { return SaveDoublesBits::decode(minor_key_); } |
1487 #ifdef _WIN64 | 1487 #ifdef _WIN64 |
1488 int result_size() const { return ResultSizeBits::decode(minor_key_); } | 1488 int result_size() const { return ResultSizeBits::decode(minor_key_); } |
1489 #endif // _WIN64 | 1489 #endif // _WIN64 |
1490 | 1490 |
1491 bool NeedsImmovableCode(); | 1491 bool NeedsImmovableCode(); |
1492 | 1492 |
1493 class SaveDoublesBits : public BitField<bool, 0, 1> {}; | 1493 class SaveDoublesBits : public BitField<bool, 0, 1> {}; |
1494 class ResultSizeBits : public BitField<int, 3, 1> {}; | 1494 class ResultSizeBits : public BitField<int, 1, 3> {}; |
1495 }; | 1495 }; |
1496 | 1496 |
1497 | 1497 |
1498 class JSEntryStub : public PlatformCodeStub { | 1498 class JSEntryStub : public PlatformCodeStub { |
1499 public: | 1499 public: |
1500 explicit JSEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) { } | 1500 explicit JSEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) { } |
1501 | 1501 |
1502 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); } | 1502 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); } |
1503 | 1503 |
1504 protected: | 1504 protected: |
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2537 | 2537 |
2538 | 2538 |
2539 class CallDescriptors { | 2539 class CallDescriptors { |
2540 public: | 2540 public: |
2541 static void InitializeForIsolate(Isolate* isolate); | 2541 static void InitializeForIsolate(Isolate* isolate); |
2542 }; | 2542 }; |
2543 | 2543 |
2544 } } // namespace v8::internal | 2544 } } // namespace v8::internal |
2545 | 2545 |
2546 #endif // V8_CODE_STUBS_H_ | 2546 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |