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

Side by Side Diff: src/factory.h

Issue 2943002: Reimplement stack manipulations for LiveEdit (Closed)
Patch Set: follow codereview Created 10 years, 5 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 | « src/debug.cc ('k') | src/factory.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 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 Handle<Context> context, 240 Handle<Context> context,
241 PretenureFlag pretenure = TENURED); 241 PretenureFlag pretenure = TENURED);
242 242
243 static Handle<Code> NewCode(const CodeDesc& desc, 243 static Handle<Code> NewCode(const CodeDesc& desc,
244 ZoneScopeInfo* sinfo, 244 ZoneScopeInfo* sinfo,
245 Code::Flags flags, 245 Code::Flags flags,
246 Handle<Object> self_reference); 246 Handle<Object> self_reference);
247 247
248 static Handle<Code> CopyCode(Handle<Code> code); 248 static Handle<Code> CopyCode(Handle<Code> code);
249 249
250 static Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); 250 static Handle<Code> AddPatchToCode(Handle<Code> code, Handle<Code> patch);
251 251
252 static Handle<Object> ToObject(Handle<Object> object); 252 static Handle<Object> ToObject(Handle<Object> object);
253 static Handle<Object> ToObject(Handle<Object> object, 253 static Handle<Object> ToObject(Handle<Object> object,
254 Handle<Context> global_context); 254 Handle<Context> global_context);
255 255
256 // Interface for creating error objects. 256 // Interface for creating error objects.
257 257
258 static Handle<Object> NewError(const char* maker, const char* type, 258 static Handle<Object> NewError(const char* maker, const char* type,
259 Handle<JSArray> args); 259 Handle<JSArray> args);
260 static Handle<Object> NewError(const char* maker, const char* type, 260 static Handle<Object> NewError(const char* maker, const char* type,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // Update the map cache in the global context with (keys, map) 402 // Update the map cache in the global context with (keys, map)
403 static Handle<MapCache> AddToMapCache(Handle<Context> context, 403 static Handle<MapCache> AddToMapCache(Handle<Context> context,
404 Handle<FixedArray> keys, 404 Handle<FixedArray> keys,
405 Handle<Map> map); 405 Handle<Map> map);
406 }; 406 };
407 407
408 408
409 } } // namespace v8::internal 409 } } // namespace v8::internal
410 410
411 #endif // V8_FACTORY_H_ 411 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698