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

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

Issue 114085: X64: Implement CEntryStub and JSEntryTrampoline. (Closed)
Patch Set: Addressed review comments Created 11 years, 6 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
« no previous file with comments | « no previous file | src/x64/assembler-x64.h » ('j') | src/x64/assembler-x64.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // Verify restrictions about code generated in stubs. 279 // Verify restrictions about code generated in stubs.
280 void set_generating_stub(bool value) { generating_stub_ = value; } 280 void set_generating_stub(bool value) { generating_stub_ = value; }
281 bool generating_stub() { return generating_stub_; } 281 bool generating_stub() { return generating_stub_; }
282 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } 282 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; }
283 bool allow_stub_calls() { return allow_stub_calls_; } 283 bool allow_stub_calls() { return allow_stub_calls_; }
284 284
285 private: 285 private:
286 List<Unresolved> unresolved_; 286 List<Unresolved> unresolved_;
287 bool generating_stub_; 287 bool generating_stub_;
288 bool allow_stub_calls_; 288 bool allow_stub_calls_;
289 Handle<Object> code_object_; // This handle will be patched with the code 289 Handle<Object> code_object_; // This handle will be patched with the
290 // code object on installation. 290 // code object on installation.
291 291
292 // Helper functions for generating invokes. 292 // Helper functions for generating invokes.
293 void InvokePrologue(const ParameterCount& expected, 293 void InvokePrologue(const ParameterCount& expected,
294 const ParameterCount& actual, 294 const ParameterCount& actual,
295 Handle<Code> code_constant, 295 Handle<Code> code_constant,
296 const Operand& code_operand, 296 const Operand& code_operand,
297 Label* done, 297 Label* done,
298 InvokeFlag flag); 298 InvokeFlag flag);
299 299
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 } \ 363 } \
364 masm-> 364 masm->
365 #else 365 #else
366 #define ACCESS_MASM(masm) masm-> 366 #define ACCESS_MASM(masm) masm->
367 #endif 367 #endif
368 368
369 369
370 } } // namespace v8::internal 370 } } // namespace v8::internal
371 371
372 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 372 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.h » ('j') | src/x64/assembler-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698