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

Side by Side Diff: src/mips/assembler-mips.h

Issue 235153003: Handlify code allocation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix mips tests Created 6 years, 8 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
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 static bool IsSw(Instr instr); 999 static bool IsSw(Instr instr);
1000 static Instr SetSwOffset(Instr instr, int16_t offset); 1000 static Instr SetSwOffset(Instr instr, int16_t offset);
1001 static bool IsAddImmediate(Instr instr); 1001 static bool IsAddImmediate(Instr instr);
1002 static Instr SetAddImmediateOffset(Instr instr, int16_t offset); 1002 static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
1003 1003
1004 static bool IsAndImmediate(Instr instr); 1004 static bool IsAndImmediate(Instr instr);
1005 static bool IsEmittedConstant(Instr instr); 1005 static bool IsEmittedConstant(Instr instr);
1006 1006
1007 void CheckTrampolinePool(); 1007 void CheckTrampolinePool();
1008 1008
1009 // Allocate a constant pool of the correct size for the generated code. 1009 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate);
Michael Starzinger 2014/04/16 11:10:04 nit: Can we get the comment back?
Yang 2014/04/16 11:29:55 Done.
1010 MaybeObject* AllocateConstantPool(Heap* heap);
1011 1010
1012 // Generate the constant pool for the generated code. 1011 // Generate the constant pool for the generated code.
1013 void PopulateConstantPool(ConstantPoolArray* constant_pool); 1012 void PopulateConstantPool(ConstantPoolArray* constant_pool);
1014 1013
1015 protected: 1014 protected:
1016 // Relocation for a type-recording IC has the AST id added to it. This 1015 // Relocation for a type-recording IC has the AST id added to it. This
1017 // member variable is a way to pass the information from the call site to 1016 // member variable is a way to pass the information from the call site to
1018 // the relocation info. 1017 // the relocation info.
1019 TypeFeedbackId recorded_ast_id_; 1018 TypeFeedbackId recorded_ast_id_;
1020 1019
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 class EnsureSpace BASE_EMBEDDED { 1274 class EnsureSpace BASE_EMBEDDED {
1276 public: 1275 public:
1277 explicit EnsureSpace(Assembler* assembler) { 1276 explicit EnsureSpace(Assembler* assembler) {
1278 assembler->CheckBuffer(); 1277 assembler->CheckBuffer();
1279 } 1278 }
1280 }; 1279 };
1281 1280
1282 } } // namespace v8::internal 1281 } } // namespace v8::internal
1283 1282
1284 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1283 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« src/heap.cc ('K') | « src/ia32/assembler-ia32.cc ('k') | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698