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

Side by Side Diff: src/code-stubs.h

Issue 494543003: Use correct BitField arguments in CEntryStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698