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

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

Issue 9235007: Handle single element array growth + transition in generic KeyedStoreIC (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final version Created 8 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/arm/ic-arm.cc ('k') | src/arm/macro-assembler-arm.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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 // Leave the current exit frame. Expects the return value in r0. 484 // Leave the current exit frame. Expects the return value in r0.
485 // Expect the number of values, pushed prior to the exit frame, to 485 // Expect the number of values, pushed prior to the exit frame, to
486 // remove in a register (or no_reg, if there is nothing to remove). 486 // remove in a register (or no_reg, if there is nothing to remove).
487 void LeaveExitFrame(bool save_doubles, Register argument_count); 487 void LeaveExitFrame(bool save_doubles, Register argument_count);
488 488
489 // Get the actual activation frame alignment for target environment. 489 // Get the actual activation frame alignment for target environment.
490 static int ActivationFrameAlignment(); 490 static int ActivationFrameAlignment();
491 491
492 void LoadContext(Register dst, int context_chain_length); 492 void LoadContext(Register dst, int context_chain_length);
493 493
494 // Load the initial map for new Arrays of a given type. 494 // Conditionally load the cached Array transitioned map of type
495 void LoadGlobalInitialConstructedArrayMap(Register function_in, 495 // transitioned_kind from the global context if the map in register
496 Register scratch, 496 // map_in_out is the cached Array map in the global context of
497 Register map_out); 497 // expected_kind.
498 void LoadTransitionedArrayMapConditional(
499 ElementsKind expected_kind,
500 ElementsKind transitioned_kind,
501 Register map_in_out,
502 Register scratch,
503 Label* no_map_match);
504
505 // Load the initial map for new Arrays from a JSFunction.
506 void LoadInitialArrayMap(Register function_in,
507 Register scratch,
508 Register map_out);
498 509
499 void LoadGlobalFunction(int index, Register function); 510 void LoadGlobalFunction(int index, Register function);
500 511
501 // Load the initial map from the global function. The registers 512 // Load the initial map from the global function. The registers
502 // function and map can be the same, function is then overwritten. 513 // function and map can be the same, function is then overwritten.
503 void LoadGlobalFunctionInitialMap(Register function, 514 void LoadGlobalFunctionInitialMap(Register function,
504 Register map, 515 Register map,
505 Register scratch); 516 Register scratch);
506 517
507 void InitializeRootRegister() { 518 void InitializeRootRegister() {
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1370 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1360 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1371 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1361 #else 1372 #else
1362 #define ACCESS_MASM(masm) masm-> 1373 #define ACCESS_MASM(masm) masm->
1363 #endif 1374 #endif
1364 1375
1365 1376
1366 } } // namespace v8::internal 1377 } } // namespace v8::internal
1367 1378
1368 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1379 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698