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

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

Issue 377004: Fixed problem where popping a handle scope after calling an accessor (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « no previous file | src/ia32/macro-assembler-ia32.cc » ('j') | src/ia32/macro-assembler-ia32.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 void CallRuntime(Runtime::FunctionId id, int num_arguments); 265 void CallRuntime(Runtime::FunctionId id, int num_arguments);
266 266
267 // Tail call of a runtime routine (jump). 267 // Tail call of a runtime routine (jump).
268 // Like JumpToRuntime, but also takes care of passing the number 268 // Like JumpToRuntime, but also takes care of passing the number
269 // of arguments. 269 // of arguments.
270 void TailCallRuntime(const ExternalReference& ext, 270 void TailCallRuntime(const ExternalReference& ext,
271 int num_arguments, 271 int num_arguments,
272 int result_size); 272 int result_size);
273 273
274 void PushHandleScope(Register scratch); 274 void PushHandleScope(Register scratch);
275 void PopHandleScope(Register scratch); 275
276 // Pops a handle scope using the specified scratch register and
277 // ensuring that registers mentioned in the saved list are not
278 // clobbered.
279 void PopHandleScope(Vector<const Register> saved, Register scratch);
276 280
277 // Jump to a runtime routine. 281 // Jump to a runtime routine.
278 void JumpToRuntime(const ExternalReference& ext); 282 void JumpToRuntime(const ExternalReference& ext);
279 283
280 284
281 // --------------------------------------------------------------------------- 285 // ---------------------------------------------------------------------------
282 // Utilities 286 // Utilities
283 287
284 void Ret(); 288 void Ret();
285 289
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 } \ 423 } \
420 masm-> 424 masm->
421 #else 425 #else
422 #define ACCESS_MASM(masm) masm-> 426 #define ACCESS_MASM(masm) masm->
423 #endif 427 #endif
424 428
425 429
426 } } // namespace v8::internal 430 } } // namespace v8::internal
427 431
428 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 432 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/macro-assembler-ia32.cc » ('j') | src/ia32/macro-assembler-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698