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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 14403015: Disallow dereferencing deferred handles when generating optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 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/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 LInstruction* instr); 227 LInstruction* instr);
228 228
229 enum RDIState { 229 enum RDIState {
230 RDI_UNINITIALIZED, 230 RDI_UNINITIALIZED,
231 RDI_CONTAINS_TARGET 231 RDI_CONTAINS_TARGET
232 }; 232 };
233 233
234 // Generate a direct call to a known function. Expects the function 234 // Generate a direct call to a known function. Expects the function
235 // to be in rdi. 235 // to be in rdi.
236 void CallKnownFunction(Handle<JSFunction> function, 236 void CallKnownFunction(Handle<JSFunction> function,
237 int formal_parameter_count,
237 int arity, 238 int arity,
238 LInstruction* instr, 239 LInstruction* instr,
239 CallKind call_kind, 240 CallKind call_kind,
240 RDIState rdi_state); 241 RDIState rdi_state);
241 242
242 243
243 void RecordSafepointWithLazyDeopt(LInstruction* instr, 244 void RecordSafepointWithLazyDeopt(LInstruction* instr,
244 SafepointMode safepoint_mode, 245 SafepointMode safepoint_mode,
245 int argc); 246 int argc);
246 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 247 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 LCodeGen* codegen_; 442 LCodeGen* codegen_;
442 Label entry_; 443 Label entry_;
443 Label exit_; 444 Label exit_;
444 Label* external_exit_; 445 Label* external_exit_;
445 int instruction_index_; 446 int instruction_index_;
446 }; 447 };
447 448
448 } } // namespace v8::internal 449 } } // namespace v8::internal
449 450
450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 451 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698