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

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

Issue 159933002: A64: Synchronize with r19289. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | « src/ast.cc ('k') | src/code-stubs.cc » ('j') | 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 // 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 virtual InlineCacheState GetICState() { 188 virtual InlineCacheState GetICState() {
189 return UNINITIALIZED; 189 return UNINITIALIZED;
190 } 190 }
191 virtual ExtraICState GetExtraICState() { 191 virtual ExtraICState GetExtraICState() {
192 return kNoExtraICState; 192 return kNoExtraICState;
193 } 193 }
194 virtual Code::StubType GetStubType() { 194 virtual Code::StubType GetStubType() {
195 return Code::NORMAL; 195 return Code::NORMAL;
196 } 196 }
197 virtual int GetStubFlags() { 197 virtual Code::Kind GetHandlerKind() {
198 return -1; 198 return Code::STUB;
199 } 199 }
200 200
201 virtual void PrintName(StringStream* stream); 201 virtual void PrintName(StringStream* stream);
202 202
203 // Returns a name for logging/debugging purposes. 203 // Returns a name for logging/debugging purposes.
204 SmartArrayPointer<const char> GetName(); 204 SmartArrayPointer<const char> GetName();
205 205
206 protected: 206 protected:
207 static bool CanUseFPRegisters(); 207 static bool CanUseFPRegisters();
208 208
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 884
885 protected: 885 protected:
886 class KindBits: public BitField<Code::Kind, 0, 4> {}; 886 class KindBits: public BitField<Code::Kind, 0, 4> {};
887 virtual Code::Kind kind() const = 0; 887 virtual Code::Kind kind() const = 0;
888 }; 888 };
889 889
890 890
891 class HandlerStub: public HICStub { 891 class HandlerStub: public HICStub {
892 public: 892 public:
893 virtual Code::Kind GetCodeKind() const { return Code::HANDLER; } 893 virtual Code::Kind GetCodeKind() const { return Code::HANDLER; }
894 virtual int GetStubFlags() { return kind(); } 894 virtual Code::Kind GetHandlerKind() { return kind(); }
895 895
896 protected: 896 protected:
897 HandlerStub() : HICStub() { } 897 HandlerStub() : HICStub() { }
898 virtual int NotMissMinorKey() { return bit_field_; } 898 virtual int NotMissMinorKey() { return bit_field_; }
899 int bit_field_; 899 int bit_field_;
900 }; 900 };
901 901
902 902
903 class LoadFieldStub: public HandlerStub { 903 class LoadFieldStub: public HandlerStub {
904 public: 904 public:
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
2508 2508
2509 2509
2510 class CallDescriptors { 2510 class CallDescriptors {
2511 public: 2511 public:
2512 static void InitializeForIsolate(Isolate* isolate); 2512 static void InitializeForIsolate(Isolate* isolate);
2513 }; 2513 };
2514 2514
2515 } } // namespace v8::internal 2515 } } // namespace v8::internal
2516 2516
2517 #endif // V8_CODE_STUBS_H_ 2517 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698