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

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: addressed comments 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
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/mips/assembler-mips.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 (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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 static Instr SetSwOffset(Instr instr, int16_t offset); 1010 static Instr SetSwOffset(Instr instr, int16_t offset);
1011 static bool IsAddImmediate(Instr instr); 1011 static bool IsAddImmediate(Instr instr);
1012 static Instr SetAddImmediateOffset(Instr instr, int16_t offset); 1012 static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
1013 1013
1014 static bool IsAndImmediate(Instr instr); 1014 static bool IsAndImmediate(Instr instr);
1015 static bool IsEmittedConstant(Instr instr); 1015 static bool IsEmittedConstant(Instr instr);
1016 1016
1017 void CheckTrampolinePool(); 1017 void CheckTrampolinePool();
1018 1018
1019 // Allocate a constant pool of the correct size for the generated code. 1019 // Allocate a constant pool of the correct size for the generated code.
1020 MaybeObject* AllocateConstantPool(Heap* heap); 1020 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate);
1021 1021
1022 // Generate the constant pool for the generated code. 1022 // Generate the constant pool for the generated code.
1023 void PopulateConstantPool(ConstantPoolArray* constant_pool); 1023 void PopulateConstantPool(ConstantPoolArray* constant_pool);
1024 1024
1025 protected: 1025 protected:
1026 // Relocation for a type-recording IC has the AST id added to it. This 1026 // Relocation for a type-recording IC has the AST id added to it. This
1027 // member variable is a way to pass the information from the call site to 1027 // member variable is a way to pass the information from the call site to
1028 // the relocation info. 1028 // the relocation info.
1029 TypeFeedbackId recorded_ast_id_; 1029 TypeFeedbackId recorded_ast_id_;
1030 1030
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1285 class EnsureSpace BASE_EMBEDDED { 1285 class EnsureSpace BASE_EMBEDDED {
1286 public: 1286 public:
1287 explicit EnsureSpace(Assembler* assembler) { 1287 explicit EnsureSpace(Assembler* assembler) {
1288 assembler->CheckBuffer(); 1288 assembler->CheckBuffer();
1289 } 1289 }
1290 }; 1290 };
1291 1291
1292 } } // namespace v8::internal 1292 } } // namespace v8::internal
1293 1293
1294 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1294 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « 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