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

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

Issue 7227010: Create and use shared stub for for DictionaryValue-based elements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: more arm fixes Created 9 years, 5 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/mips/ic-mips.cc ('k') | src/mips/macro-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // --------------------------------------------------------------------------- 292 // ---------------------------------------------------------------------------
293 // Inline caching support. 293 // Inline caching support.
294 294
295 // Generate code for checking access rights - used for security checks 295 // Generate code for checking access rights - used for security checks
296 // on access to global objects across environments. The holder register 296 // on access to global objects across environments. The holder register
297 // is left untouched, whereas both scratch registers are clobbered. 297 // is left untouched, whereas both scratch registers are clobbered.
298 void CheckAccessGlobalProxy(Register holder_reg, 298 void CheckAccessGlobalProxy(Register holder_reg,
299 Register scratch, 299 Register scratch,
300 Label* miss); 300 Label* miss);
301 301
302
303 void LoadFromNumberDictionary(Label* miss,
304 Register elements,
305 Register key,
306 Register result,
307 Register reg0,
308 Register reg1,
309 Register reg2);
310
311
302 inline void MarkCode(NopMarkerTypes type) { 312 inline void MarkCode(NopMarkerTypes type) {
303 nop(type); 313 nop(type);
304 } 314 }
305 315
306 // Check if the given instruction is a 'type' marker. 316 // Check if the given instruction is a 'type' marker.
307 // ie. check if it is a sll zero_reg, zero_reg, <type> (referenced as 317 // ie. check if it is a sll zero_reg, zero_reg, <type> (referenced as
308 // nop(type)). These instructions are generated to mark special location in 318 // nop(type)). These instructions are generated to mark special location in
309 // the code, like some special IC code. 319 // the code, like some special IC code.
310 static inline bool IsMarkedCode(Instr instr, int type) { 320 static inline bool IsMarkedCode(Instr instr, int type) {
311 ASSERT((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER)); 321 ASSERT((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER));
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1254 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1245 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1255 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1246 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1256 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1247 #else 1257 #else
1248 #define ACCESS_MASM(masm) masm-> 1258 #define ACCESS_MASM(masm) masm->
1249 #endif 1259 #endif
1250 1260
1251 } } // namespace v8::internal 1261 } } // namespace v8::internal
1252 1262
1253 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1263 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698