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

Side by Side Diff: src/code-stubs.h

Issue 11635015: Generalize calling to C++ on stub deopt (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 7 years, 11 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/builtins.h ('k') | src/ia32/builtins-ia32.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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual void Generate(MacroAssembler* masm) = 0; 240 virtual void Generate(MacroAssembler* masm) = 0;
241 }; 241 };
242 242
243 243
244 struct CodeStubInterfaceDescriptor { 244 struct CodeStubInterfaceDescriptor {
245 CodeStubInterfaceDescriptor() 245 CodeStubInterfaceDescriptor()
246 : register_param_count_(-1), 246 : register_param_count_(-1),
247 register_params_(NULL) { } 247 register_params_(NULL) { }
248 int register_param_count_; 248 int register_param_count_;
249 Register* register_params_; 249 Register* register_params_;
250 Handle<Code> deoptimization_handler_; 250 Address deoptimization_handler_;
251 }; 251 };
252 252
253 253
254 class HGraph; 254 class HGraph;
255 struct Register; 255 struct Register;
256 class HydrogenCodeStub : public CodeStub { 256 class HydrogenCodeStub : public CodeStub {
257 public: 257 public:
258 // Retrieve the code for the stub. Generate the code if needed. 258 // Retrieve the code for the stub. Generate the code if needed.
259 virtual Handle<Code> GenerateCode() = 0; 259 virtual Handle<Code> GenerateCode() = 0;
260 260
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 1298
1299 // The current function entry hook. 1299 // The current function entry hook.
1300 static FunctionEntryHook entry_hook_; 1300 static FunctionEntryHook entry_hook_;
1301 1301
1302 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 1302 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
1303 }; 1303 };
1304 1304
1305 } } // namespace v8::internal 1305 } } // namespace v8::internal
1306 1306
1307 #endif // V8_CODE_STUBS_H_ 1307 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698