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

Side by Side Diff: src/full-codegen.h

Issue 157503002: A64: Synchronize with r18444. (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/frames.cc ('k') | src/full-codegen.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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 Address pc, 924 Address pc,
925 BackEdgeState target_state, 925 BackEdgeState target_state,
926 Code* replacement_code); 926 Code* replacement_code);
927 927
928 // Change all patched back edges back to normal interrupts. 928 // Change all patched back edges back to normal interrupts.
929 static void Revert(Isolate* isolate, 929 static void Revert(Isolate* isolate,
930 Code* unoptimized_code); 930 Code* unoptimized_code);
931 931
932 // Change a back edge patched for on-stack replacement to perform a 932 // Change a back edge patched for on-stack replacement to perform a
933 // stack check first. 933 // stack check first.
934 static void AddStackCheck(CompilationInfo* info); 934 static void AddStackCheck(Handle<Code> code, uint32_t pc_offset);
935 935
936 // Remove the stack check, if available, and replace by on-stack replacement. 936 // Revert the patch by AddStackCheck.
937 static void RemoveStackCheck(CompilationInfo* info); 937 static void RemoveStackCheck(Handle<Code> code, uint32_t pc_offset);
938 938
939 // Return the current patch state of the back edge. 939 // Return the current patch state of the back edge.
940 static BackEdgeState GetBackEdgeState(Isolate* isolate, 940 static BackEdgeState GetBackEdgeState(Isolate* isolate,
941 Code* unoptimized_code, 941 Code* unoptimized_code,
942 Address pc_after); 942 Address pc_after);
943 943
944 #ifdef DEBUG 944 #ifdef DEBUG
945 // Verify that all back edges of a certain loop depth are patched. 945 // Verify that all back edges of a certain loop depth are patched.
946 static bool Verify(Isolate* isolate, 946 static bool Verify(Isolate* isolate,
947 Code* unoptimized_code, 947 Code* unoptimized_code,
(...skipping 14 matching lines...) Expand all
962 962
963 Address start_; 963 Address start_;
964 Address instruction_start_; 964 Address instruction_start_;
965 uint32_t length_; 965 uint32_t length_;
966 }; 966 };
967 967
968 968
969 } } // namespace v8::internal 969 } } // namespace v8::internal
970 970
971 #endif // V8_FULL_CODEGEN_H_ 971 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698